I have tried the following code in single.php file in wordpress. I used these chunk of code displaying related posts of current post.
<ul class="step-nav clearfix">
<li class="prev button">
<?php echo previous_post_link('%link', 'Previous'); ?>
</li>
<li class="next button">
<?php echo next_post_link('%link', 'Next'); ?>
</li>
</ul>
It shows next and previous link. Now the problem is that I am not getting any idea of how to write jquery code which will slide all next or previous post wihout changing the url of browser. Please help.
You can use ajax loading to laod the content if you do not want the url to be changed and the new posts slideIn..
Here is a sample code for ajax navigation I am using, you can modify it accordingly.
According to this code the previous content is fading Out and the new content is fading In.