PDA

View Full Version : HTML Html frame wont load if its 1px in width



dataxa
July 28th, 2008, 11:18 AM
I have frameset put up where one frame holds flash mp3 player and other webpage itself.



<html>
<head>
<title>...</title>
<frameset cols="1,*" border=0 frameborder=0 framespacing=0>
<frame name="player" src="mp3.php" noresize="true">
<frame name="web" src="index.php" noresize="true">
</frameset>
</head>
</html>


Problem is that FF starts playing the music from player frame but IE wont. If frame width would be 0px, then FF also stops playing. The thing i noticed in IE, is that if i resize frame to certain size (10 - 20 pixels) it suddenly starts playing.

It looks like Internet Explorer wont load flash content when frames width is smaller than 10 - 20 pixels.

Does anyone have workaround to this problem.

jwilliam
July 28th, 2008, 03:34 PM
You could set it's css 'display' property to 'none.' Or you could absolutely position it and place it at -1000.

DDD
July 28th, 2008, 05:06 PM
go with Jwill's solution. Frames will get a label of a "monkey teet sucker"