This article illustrates the effect of jquery on picture transparency in response to mouse events. Share to everyone for your reference, specific as follows:
Realization of the idea:
1, when the mouse is placed above the picture, triggering mouseover MouseEnter two events (the picture becomes transparent)
2, when the mouse left the picture when the trigger MouseLeave mouseout two events (the picture becomes opaque)
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en"
"http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">
Full instance code click here to download the site.
More interested readers of jquery-related content can view the site topics: "jquery common Plug-ins and Usage summary", "jquery Ajax Usage Summary", "jquery table (table) Operation Tips Summary", "jquery drag and drop effects and tips summary", " jquery Extended Skills Summary, jquery Common Classic effects summary, jquery animation and special effects usage summary and jquery selector Usage Summary
I hope this article will help you with the jquery program design.