Marquee not working in Chrome and FF
Posted: Fri Jan 21, 2011 6:50 am
Hello, Im basically a novice user and Im facing a problem regarding marquee on a php page.
The marquee is displaying fine in IE but it simply doesn't show anything in Chrome and FF.
I know that the script is written for IE only, which takes its content from an external php file. Can anyone please modify this code to work on Chrome and FF
Thanks in advance
I have tried using different scripts but i am having serious difficulties linking to the external php file, which is a must.
The marquee is displaying fine in IE but it simply doesn't show anything in Chrome and FF.
I know that the script is written for IE only, which takes its content from an external php file. Can anyone please modify this code to work on Chrome and FF
Thanks in advance
Code: Select all
<!--[if IE]>
<IE:Download ID="marqueedata" STYLE="behavior:url(#default#download)" />
<marquee id="externalmarquee" direction=up scrollAmount=1 style="width:210px;height:150px; background:; font-size:1; border:0px solid ; padding:3px" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1" src="/edit_news/news.php">
</marquee>
<script language="Javascript" type="text/javascript">
function downloaddata(){
marqueedata.startDownload(externalmarquee.src,displaydata)
}
function displaydata(data){
externalmarquee.innerHTML=data
}
if (document.all)
window.onload=downloaddata
<![endif]-->
</script>