•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,534 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,041 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 684 | Replies: 1
![]() |
First, realize that some people find moving content on a web page very annoying, unless it is demonstrating a concept (such as a moving how-it-works diagram). It interrupts their reading processes, so they can't easily read the stationary parts of the page.
The best way to do it I can think of is to make a .gif animation. That works on anything except lynx (it's text-only). No script is necessary.
Another way to do it is to write a script to repeatedly fill a text box with text. nibbling characters off the left end and adding them on the right end. This could be done with a simple for loop. But don't hog the processor with your script, or the user will lose cursor control.
Of course, this requires that JavaScript be available and enabled, so it won't work on older browsers.
A flash animation will work too, but is unavailable for older browsers.
Amything else is probably browser-specific.
The best way to do it I can think of is to make a .gif animation. That works on anything except lynx (it's text-only). No script is necessary.
Another way to do it is to write a script to repeatedly fill a text box with text. nibbling characters off the left end and adding them on the right end. This could be done with a simple for loop. But don't hog the processor with your script, or the user will lose cursor control.
Of course, this requires that JavaScript be available and enabled, so it won't work on older browsers.
A flash animation will work too, but is unavailable for older browsers.
Amything else is probably browser-specific.
Last edited by MidiMagic : Oct 15th, 2007 at 12:38 am.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- can not browse using url's only ip's work (Viruses, Spyware and other Nasties)
- Modem Connected But unable to Browse (Web Browsers)
- Cross-compiler for C? (C)
- Winsock Multi-Client Servers (C++)
- cannot browse from internet explorer but can browse from windows explorer (Web Browsers)
- XP Can not browse workgroup (Networking Hardware Configuration)
- I can't browse with internet explorer (Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: How to embed flash player content...
- Next Thread: Populating Select Box w/ Passed In Value?



Linear Mode