开发者

Dynamic last visible detection

开发者 https://www.devze.com 2023-02-20 17:11 出处:网络
I am styling a site where the design requires the main window not to have scrollbars. So, in order to see the last couple of links of the vertical navigation开发者_如何学运维, I am writing some jQuery

I am styling a site where the design requires the main window not to have scrollbars.

So, in order to see the last couple of links of the vertical navigation开发者_如何学运维, I am writing some jQuery code which will animate the navigation upwards revealing any hidden menu links until the user can see them all.

What I need to accomplish is to dynamically detect the current last visible link each time the navigation animates up or down. How can I achieve that?


Waypoints might help you.

Be very careful with that behavior because it sounds like it will confuse the user.

0

精彩评论

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