Skip to main content

div not scrolling properly with slimScroll plugin



I am using the slimScroll plugin for jQuery by Piotr Rochala





Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top.





I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/





Does anyone know how to solve this problem?


Comments

  1. I found a solution. I have changed to another plugin called anti scroll. https://github.com/LearnBoost/antiscroll

    Which is better for my requirements and retains OS native scrolling! It even works on an iPad!

    http://jsfiddle.net/DY9CT/4/

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?