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?

http://jsfiddle.net/3vrh9/4/

making use of plugin

http://demos.flesler.com/jquery/scrollto/

plugin source: http://demos.flesler.com/jquery/scrollto/js/jquery.scrollto-min.js


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -