I see what you mean. This also worked:
Code:
<div style="float:left;" id="receiver"></div>
<div style="clear:left;"> </div>
Both quite strange I agree. Perhaps something to do with stretching the window at a level more significant than merely adding an ordinary div (which doesn't work) at the end does. This however:
Code:
<script type="text/javascript">
function get_movie(id,url,width,height,left,top)
{
document.getElementById(id).innerHTML='<object type="application/x-shockwave-flash" style="position:absolute;left:'+left+'; top:'+top+'; height:'+height+';width:'+width+';" data="' + url + '" ><param name="movie" value="'+url+'" ><param name="allowFullScreen" value="true" ><param name="wmode" value="transparent" ><param name="flashvars" value="autoplay=true" ><param name="allowNetworking" value="internal" ><param name="allowScriptAccess" value="never" ><\/object>'
}
</script>
should be an external script to avoid the 'click to activate' feature in both IE and Opera.
Adding this to the beginning of your function:
Code:
if(window.opera && !get_movie.of){
get_movie.of = document.createElement('div');
get_movie.of.style.position = 'absolute';
get_movie.of.style.bottom = 0;
get_movie.of.style.left = 0;
document.body.appendChild(get_movie.of);
}
Also works.
Bookmarks