I have an intro div on a page that calculates the window height so it fills the window:

```
resizeWindow();
$(window).resize(resizeWindow);

function resizeWindow() {
    var ww = $(window).width();
    var bh = $(document).height();
    var wh = $(window).height();
    featureHeight = wh - 0;
    $('#intro').css({'height':featureHeight+'px'});
}

```

I'd like to set it so once the user scrolls past this div, scrolling back up to that intro div is disabled.

Is this possible? Any help would be greatly appreciated.

**Update:**

Combined the function found [here](https://stackoverflow.com/questions/18925332/disable-scrolling-up-past-specific-point) and this does the trick: 

```
resizeWindow();
$(window).resize(resizeWindow);

function resizeWindow() {
    var ww = $(window).width();
    var bh = $(document).height();
    var wh = $(window).height();
    featureHeight = wh - 0;
    $('#intro').css({'height':featureHeight+'px'});
    var scrollPoint = featureHeight;
    var scrolledPast = false;
    $(window).scroll(function() {
        $(window).scrollTop() > scrollPoint ? scrolledPast = true : '';
        $(window).scrollTop() < scrollPoint && scrolledPast == true ? $(window).scrollTop(scrollPoint) : '';
    }).scroll();
}

```