html - Activate scrollbar when element goes offscreen using jQuery? -


i using jquery slidetoggle hidden div when link clicked, div large , bottom half goes offscreen when appearing. cannot scrollbar activate user can scroll downward.

here sample code: http://jsfiddle.net/3fgzu/

though works here, because of jsfiddle. on website, trying accomplish same thing like:

    $('#toggle3').click(function(){         $('#resume').slidetoggle(1000);         $('html, body').animate({             scrolltop: $("#container").offset().top} + $('window').height()     }, 2000);         return false;     }); 

i hope question makes sense. help!

check link... might you..

#tabs { height:100%; overflow-y:auto; } 

from: how add scrollbar jquery tabs


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -