PDA

Click to See Complete Forum and Search --> : javascript : marquee


chezhian
Jan 29th, 2001, 05:33 AM
marquee tag is not applicable in netscape navigator?please how to scroll text within botk iE and Netscape?
?

sail3005
Jan 29th, 2001, 07:00 AM
there is no easy way, or at least not as easy as using the <marquee> tag, you would have to make it in javascript to get it to work in NN. Look at this website, i think that they may have some good cross browser scrollers: http://www.24fun.com

Mark Sreeves
Jan 29th, 2001, 08:20 AM
chezhian, is this the sort of thing that you want?



<HTML>
<script language="javascript">
var msg = "chezhian, is this the sort of thing that you want? "


function scrollit()
{
document.form1.txtScroll.value= msg;
msg = msg.substring(1) + msg.substring(0,1);

setTimeout("scrollit()",100)
}
</script>
<BODY onload=scrollit()>
<Center>
<FORM name=form1>
<input name=txtScroll>

</FORM>
</Center>


</body>
</HTML>



PS, most of the scripts on 24fun are IE only !

Mark Sreeves
Jan 29th, 2001, 08:23 AM
sail3005
replies like "look at this site there might be something there" are totally pointless!
post an exact link or don't bother!


:)