Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately this is not a solution… because immediately when

    a id=”anchor_1″ /a

    gets out of the viewport, it looses all the parameters… the issue is that the DIV section which belongs to anchor_1 is still on the screen… but the anchor not… so… immediately when anchor_2 enters the screen with just 1 pixel all the parameters flip to anchor_2…

    Any idea how to work around that?

    Hi,
    unfortunately I have exactly the same problem… everything is working correctly, and jumping from menu to the various sections works perfectly.

    But… when scrolling down, the flip of highlighting to the next menu item is too early…

    My page is structured as follows (and cannot be changed because of the visual editor I am using – had to modify the code so it’s displayed in the forum):

    a id=”anchor_1″ /a
    <div> …. any content </div>
    a id=”anchor_2″ /a
    <div> …. any content </div>
    a id=”anchor_3″ /a
    <div> …. any content </div>

    The problem is that when you scroll down and e.g. anchor_1 gets out of view and anchor_2 enters the screen with just a few pixels the menu flips to anchor_2…

    Is there any way to define that an anchor only gets activated if it is just xxx pixels away from the top? Or… do you have any other ideas how to solve this?

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)