fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b2484bef809ac70e526cb95b3d00b7e2dbf62d8b
[edumed.git]
/
edumed
/
static
/
catalogue
/
js
/
carousel.js
1
(function($){
2
$(function() {
3
4
5
$("#catalogue-carousel-links").each(function() {
6
$slides = $(this);
7
8
$slides.cycle({
9
fx: 'fade',
10
speed: 1000,
11
timeout: 5000,
12
pager: '#catalogue-carousel-switcher',
13
pagerAnchorBuilder: function() {},
14
});
15
16
$("#catalogue-carousel-switcher li").each(function(i, e) {
17
$("a", e).click(function(ev) {
18
ev.preventDefault();
19
$slides.cycle(i);
20
});
21
});
22
23
});
24
25
26
});
27
})(jQuery);