Hide/Show Content at Specific Scroll Positions


Tags: javascript,jquery,css

Problem :

I am trying to achieve an effect similar to what is happening in the blue circles on http://fresh01.co.za/. When scrolled into the focus of a particular post, the content within the blue circles changes to reflect the post in focus.

Just to clarify, I am curious about the jQuery specifically. I am already aware how to create the css part of the effect.

Thanks



Solution :

You might be able to try the jQuery WayPoints plugin:

http://imakewebthings.github.com/jquery-waypoints/

This plugin allows you to attach events to specific scroll points (elements) on a page.


    CSS Howto..

    Print CSS: How do I open a new tab of the current page and append CSS?

    how do i css position this divs according to my layout picture?

    When using ''@keyframe play'' in css, how can you get the frame the animation is currently at with javascript?

    How to style the last element before another specific element in CSS? [duplicate]

    div content shows when display:none

    How to get text within div to be relative to the div's width and height, CSS, HTML

    How to remove hover effect from a column of a table

    How to prevent the loading of background image in each page?

    CSS3: How to add more than 2 CSS Ribbon effects to same banner?

    jQuery UI Droppable - How to allow only 1 element per drop zone, instead of stacking

    How to make a new DOM element to think it resides in a different domain with js and css

    How to make hyperlink for a background image?

    How to track element movement and trigger function at specific spot?

    How to build those rectangular with picture and text css bootsrap? [closed]

    How to create a horizontal scroll bar when shrinking the window

    How to make the search form without the search button?

    How to calculate sine, cosine in Less?

    How to edit a css file in ASP.NET using C# to change the website design

    how to show one element under the other one?

    How to create pentagon shape for avatar image?

    How to override a class using jquery

    How to achieve a CSS footer “curtain” effect?

    How to style form use css [closed]

    How do I learn what changes my css values?

    How to position two elements side by side using CSS

    How to select a non unique element through CSS

    How do you set a css class attribute with Javascript? [duplicate]

    How do I get pictures side by side (responsive)

    How to make multiple breaks using CSS?

    How can I make jQuery's draggable function expand the container?