How to highlight words when scrolling over them, and when clicking it permanently
Hey! Thanks for helping. I'm new with Javascript but familiar with HTML.
I'm working on a project where I want to...
1) highlight a word when I roll-over it-- but it doesn't remain highlighted if i scroll off it.
2) permanently highlight a word if I click on it.
That will definitely help me with a large chunk of what I'm trying to do. I've searched everywhere and cannot find out exactly how to do it.
someone asked the same question recently in another thread.
I think one of the solutions suggested was putting each word in a <span> and then use either css or javascript to highligt the span when a user hovered on it.
There might have been other solutions as well after I last visited that thread.
If you do a search of the forums, it should come up.
Bookmarks