Hover usage and Live usage introduction (mouse hover effect) _jquery

Source: Internet
Author: User
Copy code code as follows:

//Live is primarily used for dynamically loaded element binding events
//Product Catalog
$ (". LM_DIV_Q dd"). Live ({
m Ouseenter:function () {
$ (this). Find ("strong"). AddClass ("Tj_strong");
$ (this). Find ("strong"). Next (). Slidedown (200);//Display Drop-down box
},
Mouseleave:function () {
$ (this). Find ("str Ong "). Removeclass (" Tj_strong ");
$ (this). Find ("strong"). Next (). Slideup (200);//Hide dropdown box

});
//Hover Direct binding event <pre Class=javascript name= "code" >//Product Catalog
$ (". LM_DIV_Q dd"). Hover (function () {
$ (this) . Find ("strong"). AddClass ("Tj_strong");
$ (this). Find ("strong"). Next (). Stop (True,true). Slidedown (200);//Show Drop-down box
},function () {
$ (this). Find (" Strong "). Removeclass (" Tj_strong ");
$ (this). Find ("strong"). Next (). Stop (True,true). Slideup (200);//Hide Drop-down Box
});</pre><br>
<br >
<PRE></PRE>
<BR>
<BR>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.