Using jquery to slide in content horizontally -
i have few links on page refers content divs on same page. i'm trying create simple horizontal sliding effect sliding effect show content. example, box1 content should visible, , when clicked on link2, box2 content shold slide in.
<a href="#box1">link 1</a> <a href="#box2">link 2</a> <a href="#box3">link 3</a> <div class="content"> <div id="box1">..</div> <div id="box2">..</div> <div id="box3">..</div> </div>
please have @ jsfiddle here: http://jsfiddle.net/g9evf/
maybe this?
making use of plugin
http://demos.flesler.com/jquery/scrollto/
plugin source: http://demos.flesler.com/jquery/scrollto/js/jquery.scrollto-min.js
Comments
Post a Comment