javascript - Automatically scroll down with Jquery? -


I have a modal box with defined height. There is an apparion box inside this box which is spread when a user links Clicks. The height of the agnitry box, when it is toggled, then the model is higher than the height of the box and thus the scrollbar is visible.

I want to automatically scroll the bars to my lowest point to display new content in the Acerian box.

The accordian box looks like this:

  & lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("BTN-Slide"). Click (function () {$ ("# panel") Slide Toggle ("Slow"); $ (this) .toggleClass (" Active "); return false;});}); & Lt; / Script & gt;  

Is there any way to integrate this scroll function into existing functions? Is there an existing jquery function for this type of behavior?

If you do not want to trust, you can change any plugin or real URL You can use ScrollPop,

Check Cheers.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -