PDA

View Full Version : Gooey Menu Highlight When Scrolling?



joshywood
02-05-2012, 01:38 AM
1) Script Title: jQuery Gooey menu

2) Script URL on DD: http://www.dynamicdrive.com/dynamicindex1/gooeymenu.htm

3) Describe Problem: I have a one page website that uses anchor links to scroll to the different sections. My main navigation is utilizing Gooey Menu, and each section link is designed to highlight on mouseover and stay highlighted upon being clicked. All of this works fine. The problem I'm having is, since my site is all on 1 page, I would like the Gooey Menu links to highlight as you manually scroll (using your mousewheel or keyboard) down the page. Something along the lines of the anchor tags entering or exiting the viewport to trigger the highlight to change for the new section.

Anyone have any clever ways of solving this puzzle? I've seen others on the web with this same question so if anyone here can solve it I know it'll be a big help to more than just me. Thanks in advance for your time!