JQuery 切换图像和另一个 div 高度
不确定这是否可以完成,但我想切换图像(简单),但同时根据切换的“打开/关闭”增加/减少另一个 div 的高度。我可以让它在点击时增加,但不能在“关闭”时增加任何建议
$j('#headerImageToggle').live('click',function(){
$j(this).next('div').slideToggle('slow',function(){
I assume something goes in here?
});
});
Not sure if this can be done, but I would like to toggle an image (easy) BUT at the same time increase/decrease the height of another div based on the "open/close" of the toggle. I can get it to increase on click, but not on the "close" any suggestions please
$j('#headerImageToggle').live('click',function(){
$j(this).next('div').slideToggle('slow',function(){
I assume something goes in here?
});
});
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)