开发者

how to do this style slide navigation?

开发者 https://www.devze.com 2023-02-20 10:26 出处:网络
eg: the main navigation is \"one\",\"two\",\"three\",\"four\". the child navigation is \"welcome to our site\" this navigation under the main nav \"one\".

eg: the main navigation is "one","two","three","four". the child navigation is "welcome to our site" this navigation under the main nav "one". the "two1","two2","two3","two4" belongs two, the "three1","three2 belogs to main nav "three"

now, i want to get when the mouse hover on one, the "welcome to our site" shows in a blcok.the block only shows the "one" child nav. when hover on the two, the "two1","two2","two3","two4" shows in the same block.the block only shows the "two" child nav then hover on the "three". the same as the abov开发者_运维问答e.

could i use the jquery or javascript to get this?


If you want to use javascript; here is one example dropdown menu


don't know if is understand you right, but this sound like you wan't a simple dropdown-menu, wich is easily possible with pure css. asking google, it just takes 10 seconds to find http://css-dropdownmenu.com wich looks very good.

if i missunderstood the question, please try to be more accurate. have you seen this kind of navigation an another site? if so, could you please post a link?

0

精彩评论

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