#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    79
    Rep Power
    15
    Could someone tell me the code for making a simple marquee like text scroller? Id like one similar to the one found here.. http://www.opencube.com/example_hmarquee.htm

    Or..an even simpler one which is like the html function <marquee> would be great..I need it because <marquee> doesnt work in netscape.

    Thanks

    Basil
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Englewood, CO
    Posts
    30
    Rep Power
    15
    The example you posted is a java applet and you'll need to use Java to do that. I've only seen javascript that will run marquee-type messages in the status bar at the bottom of the browser window and/or in a text field.

    -TM
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    79
    Rep Power
    15
    Hmm...So i should try the java forum?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Englewood, CO
    Posts
    30
    Rep Power
    15
    Here you go: http://phecht.com/javamarquee.htm

    And after you compile the code into a file (called mymarquee.class), here's how to implement in your HTML:

    <applet code="mymarquee.class" codebase="java" align="baseline" width="300" height="40">
    <param name="font" value="Courier">
    <param name="fps" value="40">
    <param name="size" value="18">
    <param name="string" value="For all your Java needs!">
    <param name="style" value="PLAIN">
    Your browser has Java turned off!
    </applet>

    When in doubt, use a search engine ;-)

    If you're new to java and/or compiling, start here: http://java.sun.com/docs/books/tutorial/index.html


    -TM

  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    79
    Rep Power
    15
    Thankyou for the code Troutmask...

    However, I found that horixontal scroller was one of the few applets the evaluation software from opencube.com allowes you to create.

    I am very new to java...and want to stay that way...i'm not a big fan...just that a client requested a marquee like scroller which worked in both IE and NS.

    Thanks for the link, I'll be sure to use it when im stuck on java problems

    Basil

Similar Threads

  1. javascrpit to control horizontal scrolling
    By monsho in forum HTML Programming
    Replies: 1
    Last Post: July 26th, 2003, 11:32 AM
  2. Replies: 2
    Last Post: July 2nd, 2003, 01:03 AM
  3. horizontal scroll bar in SELECT
    By IrinaIonela in forum HTML Programming
    Replies: 1
    Last Post: January 14th, 2002, 11:18 AM
  4. horizontal layer scroller
    By Garrett_44 in forum HTML Programming
    Replies: 6
    Last Post: October 22nd, 2001, 05:25 PM
  5. HELP! how to make a horizontal img scroller
    By Philip Wang in forum HTML Programming
    Replies: 8
    Last Post: June 13th, 2001, 03:24 PM

IMN logo majestic logo threadwatch logo seochat tools logo