<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=">
<TITLE>flash</TITLE>
<script TYPE="text/javascript">
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ie5 =(document.getElementById)? true:false
ns6 = (document.getElementById && !document.all)?true:false;
function vis(id,id2){
var styleObj = (ns4)? document.layers[id] : (ie4)? document.all[id].style : document.getElementById(id).style;
styleObj.display = "none"
var styleObj = (ns4)? document.layers[id] : (ie4)? document.all[id2].style : document.getElementById(id2).style;
styleObj.display = "block";
clearInterval(tidenDu);
}
function flytMig(){
if (document.getElementById('minFlash').style.ypos<screen.availHeight/2){
document.getElementById('minFlash').style.ypos += 1;
document.getElementById('minFlash').style.top = document.getElementById('minFlash').style.ypos
setTimeout("flytMig()",30)
}
}
function init(){
minFlash.style.ypos = parseInt(document.getElementById("minFlash").style.left)
minFlash.style.xpos = parseInt(minFlash.style.left)
tidenDu = setInterval("vis('minFlash','indhold')",3000); // 3 sekunder
flytMig();
}
</script>
</HEAD>
<BODY onload="init()">
<div align="center" style="width:500" style="position: absolute; left:0; top:0; width: 200; height:100; z-index: 3;">
<div id="indhold" style="position:absolute;left:100;top:100;display:block">
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br>
</div>
<div id="minFlash" style="position: absolute; left:0; top:0;; z-index: 3;" align="center" style="display:block">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="450" HEIGHT="150" id="flash" ALIGN="">
<PARAM NAME=movie VALUE="flash2.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#009966> <EMBED src="flash2.swf" quality=high wmode=transparent bgcolor=#009966 WIDTH="450" HEIGHT="150" NAME="flash2" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="
http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</div>
</div>
</BODY>
</HTML>
Sådan, så skal der bare tilsættes lidt sving i lagets bevægelse :))
/Nikolaj