hammadahmed1988 Posted January 21, 2011 Share Posted January 21, 2011 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> Quote Link to comment Share on other sites More sharing options...
hammadahmed1988 Posted January 21, 2011 Author Share Posted January 21, 2011 I did it. Thanks any ways people. 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> Quote Link to comment Share on other sites More sharing options...
trq Posted January 21, 2011 Share Posted January 21, 2011 Mods please close the thread You can (and should). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.