Paragraph Highlighting Script
EXAMPLE
SimplytheBest DHTML Scripts and Javascripts - a large collection of selected DHTML scripts and Javascripts. Most scripts are free to use and clearly explained.
STEP 1
Insert the following script between the </HEAD> and <BODY> tags in your HTML.
STEP 2
The paragraph, sentence or word must be ID tagged with the following name:
Ctrl-CCtrl-V
If you need more than one paragraph or sentence highlighted, simply copy and paste the two subroutines inside the script tags and rename para1 to f.e. para2. Then tag the paragraph you wish to highlight with the appropriate id i.e. para1, para2, and so forth.
USING CSS
You can also use CSS to define a hover property on any element. F.e.
<div class="mydiv">Your content</div>
In the CSS style definition you would define:
Ctrl-CCtrl-V