Scroll bar script resizable
Hello there, nice being a part of the forum, hope to have some help, im using a script from this website
http://baijs.nl/tinyscrollbar/
and im trying to put in my website, you can see it better the scroll bar in my website above
http://tiny.cc/87nusw
But i have a problem, i liked to make the scrollabr resizable, how could i make it? I sent a message to the author, and he told me this:
"You will have to use the jquery resize event in combination with the tinyscrollbar update method"
Unfortanlly im a complete noob in javascript/jquery, could someone explain me the steps or how can i make these changes?
Best regards
My guess is something like this, but you should explain yourself better. What do you want to resize (content of paragraph, browser window)?
Code:
$(window).resize(function(){
$('#scrollbar1').tinyscrollbar_update();
});
This will call the anonymous function each time a browser window is resized and inside it, call that scrollbar update method, but i'm not familiar with that particular scrollbar, so it may not work
If you are happy with the solution: Top of the comments > Thread Tools > Mark Thread Resolved
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks