隐藏区域 - 滚动不显示
嘿伙计们,我已经实现了一个滚动区域,但在滚动内我有一个可扩展的文本区域,但滚动区域没有考虑到这一点,因此当单击可扩展文本时,它会剪切底部。有办法解决这个问题吗?它执行此操作的链接是 http://www.ashleysark.com/transport
您可以在http://www.ashleysark.com/dogcare 滚动有效。
谢谢 亚当
Hey Guys I have implemented a scroll area but within the scroll the I have an expandable text area but the scroll area doesn't take this in to consideration so when the expandable text is clicked it is cutting of the bottom. Is there anyway to fix this? The link that its doing it on is http://www.ashleysark.com/transport
You can see on http://www.ashleysark.com/dogcare the scroll works.
Thanks
Adam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当页面加载时,内容的高度很小,当单击 vets 链接时,高度增加,现在 javascript 不知道这一点,这可能是一个简单的修复方法,一旦手风琴调用完成,请尝试调用 $(" #scrollbar1").tinyscrollbar() 应该可以解决问题。
When the page was loaded the height of the content was small and when the vets link was clicked thn the height increased and now the javascript is not aware of it may be one simple fix will be once the accordion call is done try calling $("#scrollbar1").tinyscrollbar() that should fix the issue.
文本展开后,您必须再次调用
$("#scrollbar1").tinyscrollbar()
。事实上,每次的内容发生变化时,您都必须调用它。
You have to call
$("#scrollbar1").tinyscrollbar()
again after the text has expanded. In fact, you have to call it every time the content of<div id="scrollbar1">
changes.