Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
mikemetcalf's Recent SnippetsTagged jquery
- 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
620
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
573
posted 14 years ago by mikemetcalf
Add a "rollover" class and hover="img/src-hover.jpg" to the image in question.
2
754
posted 14 years ago by mikemetcalf