Hi All,
I'm just looking for a way to change a word in a sentence upon mouseover that word.
Any help'd be appreciated.
Hi All,
I'm just looking for a way to change a word in a sentence upon mouseover that word.
Any help'd be appreciated.
You can apply a rollover effect like with images. Use a <span> and use onmouseover to change the innerHTML. If you need to change it back, use onmouseout the same way.
Do you just want a place to start or do you need someone to write this for you?
Also, do you want this to be a quick version that works once? Or will you use it in many places on your page? (Harder to setup that way, but more efficient.)
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
drluv888 (07-05-2011)
I'm getting a strange error: /dk/:8Uncaught TypeError: Cannot read property of 'dataset' of underfined.
What would be the quick way to do use it just once? (As in, only one <span> is changeable). I only need it in one place.
Bookmarks