Team:UniSalento Lecce/js/hp slider setup.js
From 2013.igem.org
(Difference between revisions)
(Created page with "$(function () { $('#hp_slider').after('<div id="fsn"><ul id="fs_pagination">').cycle({ timeout: 4000, // milliseconds between slide transitions (0 to disable auto adv...") |
|||
Line 1: | Line 1: | ||
$(function () { | $(function () { | ||
$('#hp_slider').after('<div id="fsn"><ul id="fs_pagination">').cycle({ | $('#hp_slider').after('<div id="fsn"><ul id="fs_pagination">').cycle({ | ||
- | timeout: | + | timeout: 3000, // milliseconds between slide transitions (0 to disable auto advance) |
fx: 'fade', // choose a transition type, ex: fade, scrollUp, shuffle, etc... | fx: 'fade', // choose a transition type, ex: fade, scrollUp, shuffle, etc... | ||
pager: '#fs_pagination', // selector for element to use as pager container | pager: '#fs_pagination', // selector for element to use as pager container |
Latest revision as of 11:07, 2 October 2013
$(function () {
$('#hp_slider').after('- ').cycle({
timeout: 3000, // milliseconds between slide transitions (0 to disable auto advance) fx: 'fade', // choose a transition type, ex: fade, scrollUp, shuffle, etc... pager: '#fs_pagination', // selector for element to use as pager container pause: 0, // true to enable "pause on hover" pauseOnPagerHover: 0 // true to pause when hovering over pager link });});