Results 1 to 4 of 4

Thread: javascript : marquee

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Location
    chennai
    Posts
    2
    marquee tag is not applicable in netscape navigator?please how to scroll text within botk iE and Netscape?
    ?

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    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

  3. #3
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    chezhian, is this the sort of thing that you want?

    Code:
    <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
    -------------------

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    sail3005
    replies like "look at this site there might be something there" are totally pointless!
    post an exact link or don't bother!



    Mark
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width