PDA

View Full Version : Textual tool script help (onmouseout)



Johank82
11-25-2005, 03:49 PM
I have a question about this great script: http://www.dynamicdrive.com/dynamicindex5/linkinfo.htm which I am using on http://nintendosan.atspace.com

Is it possible to make the original text reappear when you move the pointer back from the link? This is the original text on your site:

Welcome to our new look!
Hope you like the new look for Dynamic Drive. This is the first in a series of steps we're taking to improve our site. In the very near future, you can expect many cool features such as a new forum, newsletter, feedback form, and more, to be introduced. Enjoy!


When I move my mouse over "scrollers" another text comes up, and when I move it back, the original text wont reappear.



Yours sincerely

Johan

jscheuer1
11-25-2005, 04:23 PM
You can add this to your array:


content[5]='</small><p><font face="Verdana" color="#000000">site. In the very near futes sum, newsletter, feedback form, and more, to be introduced. Enjoy!<br></font><small>'

And make your typical markup look like so:


<a href="../dynamicindex1/index.html" onmouseout="changetext(content[5])" onmouseover="changetext(content[0])">Spel1</a>

Johank82
11-25-2005, 04:33 PM
Thanks a lot! You made my day :)