Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.MESSAGECOUNT = 0;
- function checkBox() {
- var mcount = $('.colourline').length;
- if(mcount > window.MESSAGECOUNT) {
- window.MESSAGECOUNT = mcount;
- $('.dynamicpanel').animate({ scrollTop: 1000 },'50');
- }
- }
- setInterval(checkBox, 500);
-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement