Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Elegantly Combine two scrolling JS effects...

Status
Not open for further replies.

kiravas

Technical User
Oct 21, 2004
1
US
Hello all,
I am attempting to add a scrolling marquee effect to a friend's website. This website already has javascript code that creates a 'trailing text' effect that follows the mouse cursor around the screen.
I have integrated the two scripts to function simultaneously. However, they interfere with each other in that whenever the mouse is moved, the scrolling marquee resets to the beginning, making it unreadable.
Since the relevant code is lengthy, I will only include here a link to the page itself:


The mouse effect code is towards the beginning except for the onmousemove trigger, and the marquee script is located within the body along with both triggers.
Thanks in advance for your attention and help.

Kiravas
 
In Firefox, the trailing text, scrolling marquee, and the link hovers did not appear.

In MSIE, the marquee and trailing text worked fine.

--Chessbot

"So it goes."
Kurt Vonnegut, Slaughterhouse Five
 
Personally I hate the trailing letters for the cursor in any website other than developer's tips and tricks. Just because is something that JS can handle doesn't mean people have to use it.

The website looks really good and the ticker(marquee) is something that can be rescued, however I don't see a reason to keep the trail on the cursor. Makes the whole website drop 10 points as far design and overall presentation.

Anyhow I'm not the one who decides what to put there, it may be that your client likes that and even though you as a developer don't want to use it you are required to do it.


they worked with no problems on IE 6.0 win2000 pro.

grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
-----------------------------------------------
 
Please, please, kill this from your pages....

<embed src="mp3/franksledge.mp3" autostart="true" hidden="true"></embed>


It makes them slow and I really don't want to download the mp3 file on every single page.

plus it triggers security alerts here at work and the network guys are never happy about them.






grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
-----------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top