Community Page
- www.prodevtips.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- any update on Call to undefined method User::updateMe() error???
- منتدى راما منتديات راما صور خواطر نقاشات ضحك فرفشه اخبار الفن ستار اكاديمي سياحه ديكور ازياء صحه طبخات رياضه بلوتوث ثيمات وسائط افلام اكشن تصاميم اغاني ميوزك raamaa منتديات راما خدمات منوعة و فوائد...
- sankes www.saso2.com
- thank you for this tutorial www.struc-eng.com
- this is wonderful tutorial .. i read it 3 times and get a fantastic results and sure i put a copy of this lesson on my site here www.ebneleslam.com
ProDevTips
Mainly tutorials and tips relating to web development with PHP, Javascript, jQuery and Ruby
This is a continuation of the scrolling and toggling tutorial. Some of it’s content is discussed here, without much explanation.
We have now introduced sorting a table with the jQuery tablesorter plugin and scrolling the main window upwards to compensate for toggling a div off. In ... Continue reading »
We have now introduced sorting a table with the jQuery tablesorter plugin and scrolling the main window upwards to compensate for toggling a div off. In ... Continue reading »
1 year ago
1 year ago
1 year ago
The plugin dimensions, slightly improves jQuery's function 'offset()' which is used by 'position()', tough I didn't saw any difference for now (in the new demo). What I mentioned before, about the option 'offset' being $().height() / 2, should be -$().height()/2. Note the '-'. Might that be the difference ?. You could also play with the option 'margin'. Try setting it to true, maybe that fixes it.
Lastly, on the last release, I allowed some overloading, and you can replace:
$.scrollTo( '....', {speed:500}); for $.scrollTo( '....', 500 );
Well... hope that helps ;)
Cheers.
1 year ago
Anyway with the prior version of scrollto I was correctly scrolled to the top of the window, I'll play around with the new version of your scrollto and see what I can do. I'll also get some demo up when I get the time.
Thanks for the tips and the new version!
9 months ago