开发者

Flyout menu with scrolling

I'm trying to c开发者_运维问答reate a flyout menu that has scrolling build in if its larger than the screen. I can't seem to figure out how to do this with the native overflow-y scrolling properties. Everytime I seem to set that overflow-y:auto then the the menu that flys out is nested within the parent div with a scroll bar.

Anyone has any ideas?

Thanks!


This is not a solution of mine, but you can try this.. it has a really nice effect and serves your purpose:

http://css-tricks.com/examples/LongDropdowns//


you should set the max-height proparty for the div otherwise it cant tell (since it is sort of absolutely positioned) where to stop, or u can set the height for older browsers, or you can javascript it, change height dynamically until it reaches a maximum

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜