Team:UniSalento Lecce/js/hp slider setup.js
From 2013.igem.org
(Difference between revisions)
Mattcrow (Talk | contribs)
(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...")
Newer edit →
(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...")
Newer edit →
Revision as of 09:13, 2 October 2013
$(function () {
$('#hp_slider').after('- ').cycle({
timeout: 4000, // 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 });});