Last change
on this file since 107913 was
45225,
checked in by jfefe@…, 10 years ago
|
Corrections : sélecteur des boutons précédent / suivant et masquage si nécessaire
|
File size:
739 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | |
---|
4 | function jcarousellite_insert_head($flux){ |
---|
5 | $flux .= '<script type="text/javascript" src="'.find_in_path('js/jcarousellite.js').'"></script>'; |
---|
6 | $flux .= '<script type="text/javascript"> |
---|
7 | (function ($) { |
---|
8 | $(document).ready(function(){ |
---|
9 | /* |
---|
10 | * Modèle <jcarousel_meme_rubrique> |
---|
11 | */ |
---|
12 | $(".SliderArticlesMemeRubrique .jCarouselLite").jCarouselLite({ |
---|
13 | btnNext: ".SliderArticlesMemeRubrique .next", |
---|
14 | btnPrev: ".SliderArticlesMemeRubrique .prev", |
---|
15 | circular: false |
---|
16 | }); |
---|
17 | |
---|
18 | }); |
---|
19 | |
---|
20 | }(jQuery)); |
---|
21 | |
---|
22 | </script>'; |
---|
23 | |
---|
24 | return $flux; |
---|
25 | } |
---|
26 | |
---|
27 | function jcarousellite_insert_head_css($flux){ |
---|
28 | $flux .= '<link rel="stylesheet" type="text/css" href="'.find_in_path('css/jcarousellite.css').'" />'; |
---|
29 | |
---|
30 | return $flux; |
---|
31 | } |
---|
32 | |
---|
33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.