HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 1st, 2000, 07:36 AM
'tantrum 'tantrum is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Posts: 79 'tantrum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #2  
Old March 1st, 2000, 10:33 AM
TroutMask TroutMask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Englewood, CO
Posts: 30 TroutMask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #3  
Old March 1st, 2000, 07:01 PM
'tantrum 'tantrum is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Posts: 79 'tantrum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hmm...So i should try the java forum?

Reply With Quote
  #4  
Old March 2nd, 2000, 09:11 AM
TroutMask TroutMask is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Englewood, CO
Posts: 30 TroutMask User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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


Reply With Quote
  #5  
Old March 2nd, 2000, 09:47 AM
'tantrum 'tantrum is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Posts: 79 'tantrum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Horizontal Scroller


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway