What about this jquery navigation menu?

Source: Internet
Author: User

Effect Experience:
Http://keleyi.com/keleyi/phtml/jqtexiao/39.htm

HTML file Code:

<!DOCTYPE HTML><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><title>jquery mouse hover up and down slide navigation bar-Ke Keeper</title><BaseTarget= "_blank" /><Linkhref= "Http://keleyi.com/keleyi/phtml/jqtexiao/39/hovertreedaohang.css"rel= "stylesheet"type= "Text/css" /><Scriptsrc= "Http://hovertree.com/ziyuan/jquery/jquery-1.11.3.min.js"></Script><Script>$ (document). Ready (function() {$("#hovertreecaidan Li a"). Wrapinner ('<span class= "Out" ></span>' );$("#hovertreecaidan Li a"). each (function() {$( '<span class= "Over" >' + $( This). Text ()+ '</span>'). AppendTo ( This );}); $("#hovertreecaidan Li a"). Hover (function() {$(". out",     This). Stop (). Animate ({'Top':    '48px'},     -); //Move Down-hide$(". over",     This). Stop (). Animate ({'Top':    '0px'},      -); //Move Down-show}, function() {$(". out",     This). Stop (). Animate ({'Top':    '0px'},      -); //Move Up-show$(". over",     This). Stop (). Animate ({'Top':    '-48px'},     -); //Move Up-hide});});</Script></Head><Body><DivID= "Hovertreecaidan"class= "Hovertreedaohang"><ul><Li><ahref= "Http://keleyi.com">Home</a></Li><Li><ahref= "http://keleyi.com/menu/jquery/">Jquery</a></Li><Li><ahref= "http://keleyi.com/menu/webqd/">Web Front End</a></Li><Li><ahref= "http://keleyi.com/menu/javascript/">Javascript</a></Li><Li><ahref= "http://keleyi.com/menu/html5/">HTML5</a></Li><Li><ahref= "http://hovertree.com/">Hovertree</a></Li><Li><ahref= "http://hovertree.com/texiao/">Web effects</a></Li><Li><ahref= "http://tool.keleyi.com/">Tools</a></Li><Li><ahref= "http://hovertree.com/guestbook/">Message</a></Li></ul><Divclass= "Hvtclear"></Div></Div> </Body></HTML>

where the Wrapinner () method of jquery uses the specified HTML content or elements to wrap all the contents of each selected element (inner HTML).

Reference: http://hovertree.com/hvtart/bjae/m66osaoc.htm

Web front-end resources: http://www.cnblogs.com/jihua/p/webfront.html

What about this jquery navigation menu?

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.