javascript - Div to open after scrolling to bottom of page -
javascript - Div to open after scrolling to bottom of page -
i hidden div open 1 time reader has reached bottom of page. found one illustration uses asp , mysql. there more simple way javascript , div toggle?
well, post you're referring has js code necessary reacting on user scrolling bottom - only, instead of showing hidden, create phone call server fetch more info display, , that's when asp , mysql come play.
you need do
$(window).scroll(function(){ if ($(window).scrolltop() == $(document).height() - $(window).height()){ $('#idofyourhiddendiv').show(); } });
or (assuming have jquery available)
javascript html scroll hidden
Comments
Post a Comment