I want to put a news ticker on my site. On the example page that I am viewing in FF it says: "Your browser doesn't support this javascript!" http://www.hypergurl.com/newsticker.html Does everyone else see the same? If my users are going to see the same message when I put it on my site I don't think I will use this code. I javascript usually works in FF.
<script l[B]anguage="JavaScript" type="Text/Javascript"><!-- // Hide script from older browsers var urlAddress = "http://www.hypergurl.com/newsticker.html"; var pageName = "news ticker javascript"; function addToFavorites() { if (window.external) { window.external.AddFavorite(urlAddress,pageName) } else { alert("Sorry! Your browser doesn't support this function."); } } // -->[/B] </script> <script> <!-- distributed by http://www.hypergurl.com function correct(){ if (finished){ setTimeout("begin()",3000) } return true } window.onerror=correct function begin(){ if (!document.all) return if (maxheight==null) maxheight=temp.offsetHeight whatsnew.style.height=maxheight temp.style.display="none" c=1 finished=true change() } //--> </script> Code (markup): the first part of code is executing, try removing it and then try?
It haven't tried that yet, but it works in IE which suggests that removing the above code won't make a difference