JavaScript 滚动条消失?
感谢您抽出时间阅读。
我在使用 JScrollPane 时遇到一些问题,并且网站上的图像重新初始化为 1 页。
在博客部分下,您可以向下滚动第一篇默认文章(三伏天已经结束), 但是一旦您单击任何带有图像的文章(兔心)..滚动条就会消失。
如果您单击没有图像的文章或第一篇文章,它就会重新出现。
上述问题似乎只发生在全新的缓存上。有什么想法吗?
我尝试禁用 Cufon,但同样的问题仍然存在,这绝对是图像问题。
谢谢!
Thanks for taking the time to read.
I am having some problems with JScrollPane and image reinitialize with 1 page on my website.
Under the Blog Section, you can scroll down the first default article (Dog Days are Over),
but once you click on any of the Articles with images (Rabbit Heart) .. the scrollbar disappears.
It then reappears if you click on an article with no image or the first article.
The above problem seems to only occur on brand new cache. Any ideas?
I have tried disable Cufon but the same problem remains, its definitely an image problem.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Cufon 文本可能比它所替换的纯文本更大。如果是这种情况,那么“Rabbit Heart”文章的容器也可能对于滚动条来说不够大,然后 Cufon 会点击文本,使文本对于容器来说太长,但由于 JScrollPane 代码已经运行了,多余的文本被剪掉了。
It is possible that the Cufon text is larger than the plain-text that it replaced. If this is the case then it's also possible that the container for the "Rabbit Heart" article is not large enough for a scroll-bar, then Cufon hits the text, making the text too long for the container, but since the JScrollPane code has already run the extra text gets clipped.
看起来兔心的容器div没有jScrollPaneScrollable类
It doesn't look like the container div of Rabbit Heart has the class of jScrollPaneScrollable