Created
September 27, 2012 21:21
-
-
Save gaboesquivel/3796542 to your computer and use it in GitHub Desktop.
cycle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cycle_rtc = (e) -> | |
$(e).cycle | |
fx: "fade" | |
speed: 'fast' | |
timeout: 0 | |
next: '.next' | |
prev: '.prev' | |
pager: '#rtc_pager ul' | |
pagerEvent: "click" | |
after: on_after | |
pagerAnchorBuilder: (idx, slide) -> | |
title = $(slide).data("pager-title") | |
return "<li class='pager-step step#{(idx+1)}' ><span class='title'><a href='#''>#{title}</a></li>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment