Profile
Achievement
mikemetcalf's Recent Snippets
- All /
« Prev 1 Next »
Focus and keypress events determine when to hide, show, or dim a label.
Use in tandem with the following HTML/CSS:
HTML
----
<li>
<label>First Name</label>
<input>
</li>
CSS
----
li {
position: relative;
}
la...
0
705
posted 13 years ago by mikemetcalf
Example markup:
<p>This is the first part of the text <a class="toggle">[+]</a><span>this part is hidden until clicking the toggle link.</span></p>
The script will show and hide text when the toggle link is c...
1
646
posted 15 years ago by mikemetcalf
Add a "rollover" class and hover="img/src-hover.jpg" to the image in question.
2
838
posted 15 years ago by mikemetcalf