source: spip-zone/_plugins_/sjcycle/trunk/sjcycle_pipelines.php @ 82430

Last change on this file since 82430 was 82430, checked in by chankalan@…, 7 years ago

nouvelle version en développement basée sur la nouvelle librairie Cycle2

File size: 1015 bytes
Line 
1<?php
2
3if (!defined("_ECRIRE_INC_VERSION")) return;
4
5// include_spip('inc/config');
6
7function sjcycle_insert_head_css($flux){
8        $flux .= "\n".'<link rel="stylesheet" type="text/css" href="'.find_in_path('css/sjcycle.css').'" media="all" />'."\n";
9        return $flux;
10}
11
12function sjcycle_insert_head($flux){
13
14        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.js').'" type="text/javascript"></script>';
15        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.flip.js').'" type="text/javascript"></script>';
16        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.carousel.js').'" type="text/javascript"></script>';
17        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.scrollVert.js').'" type="text/javascript"></script>';
18        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.shuffle.js').'" type="text/javascript"></script>';
19        $flux .="\n".'<script src="'.find_in_path('lib/jquery.cycle2.tile.js').'" type="text/javascript"></script>';
20       
21        return $flux;
22}
23
24?>
Note: See TracBrowser for help on using the repository browser.