views:

231

answers:

1

Hi,

Im using the coda slider. if you dont know the coda slider, the overflow-x position is hidden until a tab is clicked. The animation 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 doesnt change the overflow position.

What I want to know, is there a way of controlling the overflow-y? Or even reset it to 0?

--Mark

+1  A: 

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

Tom
overflow-x/y worked in IE7 and even IE6. It was actually introduced by MS, before being added to the CSS3 spec. You do have to be careful with using it because not all browser implement it the same.
Joel Potter