Return to Snippet

Revision: 61622
at December 29, 2012 04:53 by kyllle


Initial Code
function updateNavigation( isLastPage ) {
     
    if( current === 0 ) {
        $navNext.show();
        $navPrev.hide();
    }
    else if( isLastPage ) {
        $navNext.hide();
        $navPrev.show();
    }
    else {
        $navNext.show();
        $navPrev.show();
    }
 
}

Initial URL
http://tympanus.net/codrops/2012/12/11/fullscreen-pageflip-layout/

Initial Description
good for carousel prev/next buttons etc

Initial Title
prev/next pagination hide/show function

Initial Tags

                                

Initial Language
jQuery