CSS 溢出与 Coda 滑块

发布于 2024-08-01 21:59:03 字数 245 浏览 1 评论 0 原文

我正在使用 Coda 滑块。 如果您不知道 Coda Slider,则 overflow-x 位置会隐藏,直到单击选项卡为止。 然后,动画将隐藏的 DIV 从右侧或左侧滑入。

如果您向下滚动其中一个面板并再次单击顶部的选项卡,则会将选项卡滑过,但不会更改溢出位置。

有没有办法控制 overflow-y 甚至将其重置为 0

Im using the Coda Slider. If you don't know the Coda Slider, the overflow-x position is hidden until a tab is clicked. An animation then slides the hidden DIV in from the right or left.

If you scroll down one of the panels and click the tabs at the top again, it slides the tab over, but it doesn't change the overflow position.

Is there a way of controlling the overflow-y or even reset it to 0?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

二手情话 2024-08-08 21:59:03

CSS 3 具有属性“overflow-y”(和“overflow-x”)。
它们不受 IE 7 和旧版 Firefox 等旧版浏览器的支持,但肯定很有用。

CSS 3 Overflows-y/x

有一些很好的例子来说明它们的行为方式。

jQuery 也有一些不错的功能:

jQueryscrollTo info

或举个例子:

类似于代码滑块的演示

希望有帮助

CSS 3 has the property overflow-y (and overflow-x).
They are not supported by older browsers like IE 7 and older Firefox, but certainly useful.

CSS 3 Overflows-y/x

There are some great examples of how they behave.

jQuery has some nice features too:

jQuery scrollTo info

or for an example:

Demo similar to the code slider

Hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文