Jump to content

Marquee not working in Chrome and FF


hammadahmed1988

Recommended Posts

Hello, Im basically a novice user and Im facing a problem regarding marquee on a php page. The server is running on LINUX

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

I have tried using different scripts but i am having serious difficulties linking to the external php file, which is a must.

Thanks in advance :)

 

 

<!--[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>

 

Link to comment
https://forums.phpfreaks.com/topic/225176-marquee-not-working-in-chrome-and-ff/
Share on other sites

I did it. Thanks any ways people.  :D

Mods please close the thread

 

<MARQUEE onmouseover=this.stop() onmouseout=this.start()

scrollAmount=1 direction=up width="210" height=150>

<?php $fp = file("news.php");

for($i = 0; $i <sizeof($fp);$i++){

echo $fp[$i]."<BR>";

} ?>

</MARQUEE>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.