I am trying this code to implement but some how the code is not working,
In my HTML,
<ul id="menu1" class="menu1class">
<li><a id="menuslide1">Home</a></li>
<li><a id="menuslide2">About us</a></li>
<li><a id="menuslide3">contact us</a></li>
<li><a id="menuslide4">other Links</a></li>
</ul>
And also, i have this,
<div id="div1">Home details</div>
<div id="div2">About us details</div>
<div id="div3">Contact us details</div>
<div id="div4">other link details</div>
I need to scroll down to my particular page, when the particular link is clicked.
I know i can use the base , but need to give some realistic animate changes. Can some one help, how this can be achieved using jquery animate function.
I tried the below but seems to be not working,
$('#menuslide2').click(function() {
$("html, body").animate({scrollTo: 800 }, 500);
});
Any Help? Thanks in advance...