|
||||||||||
|
|
#1 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
![]() |
automatic scrolling text
Has anybody any idea how to create an easy automatically scrolling text on a website? One that will work in Firefox, Netscape and Internet Explorer?
Cheers, Jasper wwww.gateway2thailand.com |
|
|
|
|
Sponsored Links
|
|
|
|
#4 (permalink) | |
|
Junior Googler
![]() Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
![]() |
Quote:
Thanx for the help! |
|
|
|
|
|
|
#5 (permalink) | |
|
Google Freak
![]() |
Top to bottom would actually be vertical.
http://www.google.com/search?hl=en&q...ling+text+html >> http://www.hypergurl.com/marquee.html Quote:
|
|
|
|
|
|
|
#6 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
![]() |
Thanks. That works excellent! By the way..is there a way to add some code that makes the scrolling stops when your mouse goes over the marquee area? A sort of mouse over effect?
Regards, Jasper |
|
|
|
|
|
#7 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
![]() |
I found all the necessary information. This is what a decided to use in the end:
<marquee bgcolor="#FFFFFF" scrolldelay="300"(together with scroll amount this function handles the scrolling speed) onMouseover="this.scrollAmount=1"(when the mouses passes over the text) onMouseout="this.scrollAmount=2"(when the mouse leaves the text area direction="up" loop="true"(continuous news feed) width="120"> There is only one thing bothering me. In Firefox the text is first displayed as ordinary text before the browser realizes there is a marquee and displays it scrolling... Any suggestions? |
|
|
|
|
|
#8 (permalink) |
|
Google Freak
![]() |
It's very easy to do with javascript...
Try creating a loop... Like this... function scrolling(){ window.scroll+=speed; } settimeOut("scrolling"),100); An speed will be the lines to scroll... so declare: var speed; at the top of the script... and that will do... If you want to change the scrolling speed you can add "speed=(your speed)" to any event... and set speed=0 to stop scrolling... I did an autoscrolling text to show the top 10 posts on a forum at the home page and stuff like that... Hope I have help... You can email me for a complete source code... :P |
|
|
|
|
|
#10 (permalink) | |
|
Microsoft Student Partner
Google Guru
![]() Join Date: Jul 2004
Location: England
Posts: 5,787
Thanks: 0
Thanked 2 Times in 2 Posts
![]() |
Quote:
__________________
Visit my Tech Blog! |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automatic directory submission that really works! | LazySEO | Offers and Requests | 15 | 04-28-2009 02:14 AM |
| Automatic Submission to 300+ SEO-Friendly Directories | LazySEO | Offers and Requests | 0 | 11-02-2006 01:55 PM |
| FREE Automatic Installation of DotNetNuke | disp | Web Hosting Forum | 0 | 10-11-2006 12:35 PM |
| Bold text: [b]text[/b] | Aflak | Social Networking | 1 | 10-01-2005 05:33 AM |
| automatic forwarding to another Gmail-adress | ridgeback | Gmail Forum | 11 | 04-27-2005 10:00 AM |