English 中文(简体)
像 Wordpress 一样的左左菜单
原标题:Left menu like wordpress

我试图找到一个 javascript 库( 最好可以使用 usiny jquery), 以便您在登录后, 或多或少复制 Wordpress 左菜单栏的功能 。

此菜单有带有名称的图像, 您可以扩展/ 折叠, 如果您在新的扩展窗口中悬停, 您可以在新的扩展窗口中看到选项, 如果您单击此菜单, 则菜单会与先前显示的选项相同,...

我找到一些图书馆/口腔插件,但并不近...

我并不想找到一个自由开放的选择, 它可以是一个商业选择。

但如果它已经存在,更好...

谢谢,

见所附图像

问题回答

Basic javascript 和 cs 将完成此项任务, 菜单是 ul, 每个菜单项是 li 和 它里面的另一个 ul, 显示: noone; in cs 。 当单击它时, 只需使用 javascript 来显示它。 对于盘旋, 只需添加一个事件听众来在每个 li- ement 上盘旋, 或者显示/ 隐藏 ul 或附加它 。

还是我错过了你之后的东西?

像这样吗?

""http://jsbin.com/irunik/edit#javascript,html,live" rel="no follow" > 看看这个演示

$( ul#tabs li ).hover(function() {
  $(this).find( ul ).hide().stop().animate({height:  toggle });
}, function(){
  $(this).find( ul ).stop().animate({height:  toggle });
});

也为JS残疾人服务。





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签