开发者

Menu recommendation [closed]

开发者 https://www.devze.com 2023-03-07 05:32 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

Now I have discovered Jquery I'm in the process of updating my site. Could somebody recommend a Jquery menu system. Requirements.

  1. Vectical & horizon开发者_开发百科tal
  2. CSS for styling
  3. Three level minimum
  4. Cross browser compaterble
  5. Backwards compatible to IE 6
  6. Nice and light

Thank you for looking.


you may superfish jQuery plugin.

http://users.tpg.com.au/j_birch/plugins/superfish/

The menu structure should be in a standard ul li a structure

example

<ul class='menu'>
<li><a href="#">Company</a>
<ul>
<li><a href="#">Team</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Something</a></li>
</ul>
</li>
<li><a href="#">Contact</a></li>
</ul>

Styling needs to be done for ul.menu and superfish should be added to script and can be activated by

$(document).ready(function() { 
        $('ul.menu').superfish(); 
    }); 
0

精彩评论

暂无评论...
验证码 换一张
取 消