Hi,
Can somebody help me, I want to use in jquery somethink like "ScrollTo".
When I click something , --- > scroll to some div
Like in HTML with anchors
Thanks !!!
Hi,
Can somebody help me, I want to use in jquery somethink like "ScrollTo".
When I click something , --- > scroll to some div
Like in HTML with anchors
Thanks !!!
If you're looking for a quick way to do it, this should work:
$('html').animate({scrollTop: $('#myelement').offset().top});
See jQuery animate for more options.