How to create a horizontal gallery using jQuery?

I am working on a horizontal gallery that will display mixtape covers. I have five divs with id panel_1, panel_2, etc. What happens when I get to panel 5 and continue to scroll, it does not return to panel 1 again, as I would like.

You can see what I still have: http://worldwidemixtapes.com/newtheme.html

My knowledge of jQuery is new, but I have already implemented jquery plugins and can understand some of the methods if this is explained well.

This is my first question, so if it is too vague, please let me know so that I can be more specific.

Thank you for your help!

<div id="mixtapeWallInner">
<div id="panel_1" class="mixtapePanel current" style="left: -972px; "></div>
<div id="panel_2" class="mixtapePanel" style="left: -972px; "></div>
<div id="panel_3" class="mixtapePanel" style="left: -972px; "></div>
<div id="panel_4" class="mixtapePanel" style="left: -972px; "></div>
<div id="panel_5" class="mixtapePanel last" style="left: -972px; "></div>
</div>
+3
source share
2

2:

, " " . : script a div DOM , .

http://jsfiddle.net/wdm954/8GKz6/11

(, .)


1:

"", , DIV, DIV. , ...

http://jsfiddle.net/wdm954/VFwLT/5/

+5

, , , . , Windows Phone Panel HTML5, . http://m.movie.extremewebworks.com. , , , .

0

All Articles