Common left-side navigation effects implemented by js _ javascript tips-js tutorial

Source: Internet
Author: User
Simple implementation of commonly used left-side navigation effects using js is born to improve navigation performance. You can refer to the application and hope to help you with the commonly used left-side navigation effects. JS is simple, to improve navigation performance, you can refer to the application.

Effect display:

HTML:

The Code is as follows:






  • Apparel bags



    Women's clothing and children's clothing bags

    Shoes and accessories




  • Liquor and beverage



    Women's clothing and children's clothing bags

    Shoes and accessories




  • Home Building Materials



    Women's clothing and children's clothing bags

    Shoes and accessories




  • Catering and entertainment



    Women's clothing and children's clothing bags

    Shoes and accessories




  • Beauty Care



    Women's clothing and children's clothing bags

    Shoes and accessories




  • Education and training



    Women's clothing and children's clothing bags




  • Industrial Products



    Women's clothing and children's clothing bags




  • Novelty



    Women's clothing and children's clothing bags

    Shoes and accessories









Project video

































































































2


3


4


5


6


7


8






JS:

The Code is as follows:


$ (". Menu_list li"). mouseenter (function (){
$ (". Menu_box"). show ();
Var nav_index = $ (". menu_list li"). index (this );
$ (". Menu_cont"). eq (nav_index). show () // the current content of the sliding menu.
. Siblings (). hide ();
});
$ (". Menu"). mouseleave (function (){

$ (". Menu_box"). hide ();
});

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.