jQuery SlideToggle() 仅滑动以覆盖部分背景
我已经设置了可点击的 div,用户可以将其用作网页上的按钮。我想创建一个用户单击的这些“按钮”的“工具箱”,但我希望隐藏大部分按钮,直到用户单击“更多按钮”按钮(箭头)。为了让用户知道工具箱包含更多按钮,我想显示第二行按钮的上半部分。
在 jQuery 中是否有一种巧妙的方法可以做到这一点?
希望这个线框有帮助:
I've got clickable div's set up that users use as buttons on a webpage. I'd like to create a "toolbox" of these "buttons" that users click on, but I'd like to have most of the buttons hidden until a user clicks a "more buttons" button (an arrow). To let the user know that the toolbox includes more buttons, I'd like to display the top half of the second row of buttons.
Is there a nifty way to do this in jQuery?
Hopefully this wireframe helps:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
试试这个http://jsfiddle.net/heera/zfVF5,也许这会对你有所帮助。
Try this http://jsfiddle.net/heera/zfVF5, May be this will help you.
或者这个;-)
http://jsfiddle.net/enxax/
or this one ;-)
http://jsfiddle.net/enxax/