View demo Download source
Today we want to share some neat grid navigation effects using jQuery. In our examples we will show you ten ways how to navigate through a set of thumbnails. We’ll take a look at some of the possibilities and how to apply the effect.
The images used in the demos are by Andrew and Lili and you can see their Behance profile here:
http://www.behance.net/AndrewLili
The images are licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License.
Take a look at all the examples (you can also navigate from them to all the other examples):
- Default (show/hide)
- Fade
- Sequential fade
- Move/fade
- Sequential move/fade
- Sequential move/fade reversed
- Resize (show/hide)
- Disperse
- Rows move
- Sequential move/fade (3 rows)
The HTML structure that the script is based on is basically a list of element and some navigation arrows wrapped by a container with class and id “tj_container”.
Let’s see an example for using the sequential move/fade:
$('#tj_container').gridnav({ rows : 2, navL : '#tj_prev', navR : '#tj_next', type : { mode : 'sequpdown', speed : 400, easing : '', factor : 50, reverse : false } });The following parameters can be used/set:
rows: the number of rows to be shown in the grid
navL/navR: the selectors for the previous and next navigation elements
mode: the type of animation; you can use def | fade | seqfade | updown | sequpdown | showhide | disperse | rows
speed: the speed of the animation for fade, seqfade, updown, sequpdown, showhide, disperse, rows
easing: the easing effect for fade, seqfade, updown, sequpdown, showhide, disperse, rows
factor: delay between each item animation for seqfade, sequpdown; amount of pixels the row move when using rows
reverse: for reversing the order when using sequpdown
We hope you like these little effects and find them useful!
View demo Download source
Share and Enjoy:
"
No hay comentarios:
Publicar un comentario