|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Hmm...So i should try the java forum?
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Horizontal Scroller |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|