Skip to content
Extraits de code Groupes Projets
Valider 79288fec rédigé par joseph@larmarange.net's avatar joseph@larmarange.net
Parcourir les fichiers

- Un peu de nettoyage

- Reprise du fonctionnement proposé par cédric sur https://github.com/Cerdic/anythingslider-for-spip, à savoir un passage par affichage_final pour charger les scripts seulement au besoin, adapté quelque peu :
-- plus besoin de charger toujours anythingslider.css, 
-- conservation des options par défaut du script, 
-- correction d'un bug en l'absence de slider-nav
-- ajout d'une option js pour charger des scripts additionnels
- mise à jour de la saisie listant les thèmes
parent 93c3179e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 191 ajouts et 362 suppressions
* text=auto !eol
/README.textile -text
/anythingslider_pipelines.php -text
contenu/page-demoanythingslider.html -text
formulaires/configurer_anythingslider.html -text
formulaires/configurer_anythingslider.php -text
lang/anythingslider_fr.php -text
javascript/anythingslider.init.js -text
lang/paquet-anythingslider_fr.php -text
lib/anythingslider/css/animate.css -text
lib/anythingslider/css/anythingslider.css -text
lib/anythingslider/css/theme-construction.css -text
......@@ -23,16 +21,9 @@ lib/anythingslider/css/theme-shiny.css -text
lib/anythingslider/css/theme-simple.css -text
lib/anythingslider/css/theme-tabs-dark.css -text
lib/anythingslider/css/theme-tabs-light.css -text
lib/anythingslider/css/wrappers.css -text
lib/anythingslider/images/Thumbs.db -text
lib/anythingslider/images/arrows-metallic.png -text
lib/anythingslider/images/arrows-minimalist.png -text
lib/anythingslider/images/bkgd-carbon-fiber.gif -text
lib/anythingslider/images/bkgd-leather.jpg -text
lib/anythingslider/images/bkgd-noise.png -text
lib/anythingslider/images/bkgd-paper.jpg -text
lib/anythingslider/images/bkgd-wood1.jpg -text
lib/anythingslider/images/bkgd-wood2.jpg -text
lib/anythingslider/images/construction.gif -text
lib/anythingslider/images/cs-portfolio.png -text
lib/anythingslider/images/default.png -text
......@@ -53,6 +44,10 @@ lib/anythingslider/js/jquery.anythingslider.min.js -text
lib/anythingslider/js/jquery.anythingslider.video.min.js -text
lib/anythingslider/js/jquery.easing.1.2.js -text
lib/anythingslider/js/swfobject.js -text
/paquet.xml -text
/plugin.xml -text
prive/exec/configurer_anythingslider.html -text
prive/themes/spip/images/anythingslider-16.png -text
prive/themes/spip/images/anythingslider-24.png -text
prive/themes/spip/images/anythingslider-32.png -text
prive/themes/spip/images/anythingslider.png -text
saisies/themes_anythingslider.html -text
h1. AnythingSlider jQuery Plugin
*Just what the world needs, another jQuery slider. YAWN.* I know, check this one out though, it’s got lots of cool features.
A very robust jQuery-based slider plugin. Need to link to a specific slide? No problem. Like a choice of themes? Got it. Need callbacks for when specific slider actions happen? Sure. Need custom tab names? You got it. Need more than one slider per page? Easy.
Here on CSS-Tricks, I’ve created a number of different sliders. Three, in fact. A "“featured content”":http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/ slider, a "“start/stop slider”":http://css-tricks.com/startstop-slider/, and "“moving boxes”":http://css-tricks.com/moving-boxes/. Each of them had some cool interesting feature that I needed to build at the time. All were well-received, but as is the case with these things, people want them to do X, Y, and Z in addition to what they already did.
* Having problems with installing or getting the plugin to work? Ask your question in the "CSS-Tricks forums":http://css-tricks.com/forums/ or on "StackOverflow":http://stackoverflow.com/questions/tagged/anythingslider
* Find a bug or have an enhancement request? Submit it "here":https://github.com/CSS-Tricks/AnythingSlider/issues
This new AnythingSlider is an attempt at bringing together the functionality of all of those previous sliders and adding new features. In other words, to create a really “full featured” slider that could be widely useful. This is the first time (on CSS-Tricks) that one of these sliders is an actual plugin as well, which should make implementing it and customizing it much easier.
h2. Main Demo
* "Documentation Wiki":https://github.com/ProLoser/AnythingSlider/wiki
* "Keep Reading":http://css-tricks.com/anythingslider-1-4/
* "Main Demo":http://proloser.github.com/AnythingSlider/
* "More Demos":https://github.com/ProLoser/AnythingSlider/wiki
* Having an issue? Submit it "here":https://github.com/ProLoser/AnythingSlider/issues
* "Documentation":https://github.com/CSS-Tricks/AnythingSlider/wiki is maintained in the wiki pages.
* "CSS-Tricks demo":http://css-tricks.com/examples/AnythingSlider/
* "Github demos!":http://css-tricks.github.com/AnythingSlider/
* "Download":https://github.com/CSS-Tricks/AnythingSlider/zipball/master
h2. Related Projects
Download the full repo for a full set of all the cool stuff AnythingSlider can do.
* More themes - "AnythingSlider-Themes":https://github.com/CSS-Tricks/AnythingSlider-Themes
* Fx bookmarklet - "AnythingSlider-FX-Builder":https://github.com/CSS-Tricks/AnythingSlider-Fx-Builder
CMS plugins/mods
* Wordpress plugin - "AnythingSlider-for-WordPress":https://github.com/jacobdubail/AnythingSlider-for-WordPress
* Movable Type plugin - "mt-plugin-anythingslider":https://github.com/meancode/mt-plugin-anythingslider
* Joomla 2.5 mod - "mod_anythingslider":https://github.com/CSS-Tricks/mod_anythingslider
......@@ -3,33 +3,46 @@
// Sécurité
if (!defined("_ECRIRE_INC_VERSION")) return;
function anythingslider_anythingslider_charger($flux){return $flux;}
function anythingslider_insert_head($flux){
// Chargement de la CSS et du JS d'AnythingSlider
$css = find_in_path('css/anythingslider.css');
$flux .= "\n<link rel='stylesheet' href='$css' type='text/css' />\n";
$js = find_in_path('js/jquery.anythingslider.min.js');
$flux .= "<script type='text/javascript' src='$js'></script>\n";
// Chargement optionnels de scripts et/ou de thèmes
$config = unserialize($GLOBALS['meta']['anythingslider']);;
if (!is_array($config))
$config = array();
$config = array_unique(pipeline('anythingslider_charger',$config));
foreach ($config as $script) {
$ext = substr(strrchr($script, "."), 1);
if ($fichier = find_in_path($ext.'/'.$script)) {
if ($ext=='css')
$flux .= "<link rel='stylesheet' href='$fichier' type='text/css' />\n";
else
$flux .= "<script type='text/javascript' src='$fichier'></script>\n";
}
/**
* Insertion dynamique du js en pied de page,
* uniquement en presence d'un ou plusieurs sliders sur la page
*
* @param string $flux
* @return string
*/
function anythingslider_affichage_final($flux){
if (stripos($flux,'slider-anythingslider')){
$script = find_in_path('javascript/anythingslider.init.js');
include_spip('filtres/compresseur');
if (function_exists('compacte'))
$script = compacte($script,'js');
lire_fichier($script, $js);
$js = "var dir_anythingslider='"._DIR_PLUGIN_ANYTHINGSLIDER."lib/anythingslider/';"
. "var css_defaut_anythinslider='".find_in_path("lib/anythingslider/css/anythingslider.css")."';"
. $js;
$js = '<script type="text/javascript">/*<![CDATA[*/'.$js.'/*]]>*/</script>';
if ($p=stripos($flux,'</body>'))
$flux = substr_replace($flux,$js,$p,0);
else
$flux .= $js;
}
// Script pour internet explorer, doit être placé en dernier.
$css = find_in_path('css/anythingslider-ie.css');
$flux .= "<!--[if lte IE 7]>\n";
$flux .= "<link rel='stylesheet' href='$css' type='text/css' />\n";
$flux .= "<![endif]-->\n";
return $flux;
}
/**
* Insertion statique dans l'espace prive, car on ne sait pas faire mieux pour le moment,
*
* @param string $flux
* @return string
*/
function anythingslider_header_prive($flux){
$js = "var dir_anythingslider='"._DIR_PLUGIN_ANYTHINGSLIDER."lib/anythingslider/';"
. "var css_defaut_anythinslider='".find_in_path("lib/anythingslider/css/anythingslider.css")."';";
$js = '<script type="text/javascript">/*<![CDATA[*/'.$js.'/*]]>*/</script>';
$flux = $js
. $flux
. "<script type='text/javascript' src='".find_in_path('javascript/anythingslider.init.js')."'></script>";
return $flux;
}
......
[(#REM)
Copie du 2012-03-13 18:24:35 par Franois Rygaert
Fichier original plugins/anythingslider/contenu/page-demoanythingslider.html
]
<B_liste_articles>
<div id="liste anythingslider articles">
<h2 class="h2">A la une</h2>
<ul id="slider1">
<BOUCLE_liste_articles(ARTICLES){par date}{0,10}>
<li class="item hentry" style="width:100%;">
<h3 class="h3 entry-title"><a href="#URL_ARTICLE" rel="bookmark">
[(#LOGO_ARTICLE|image_reduire{150})]<span>#TITRE</span>
</a></h3>
[<div class="info-publi"><abbr class="published" title="[(#DATE|date_iso)]">(#DATE|affdate_jourcourt)</abbr></div>]
[<div class="introduction entry-content">(#INTRODUCTION)</div>]
<div class="meta-publi">
<a class="lire-la-suite" href="#URL_ARTICLE"><:zpip:lire_la_suite:><span class="lire-la-suite-titre"><:zpip:lire_la_suite_de:> <em>#TITRE</em></span></a>
</div>
</li>
</BOUCLE_liste_articles>
</ul>
</div>
<script type="text/javascript">// <![CDATA[
$(document).ready(function(){
$('ul.#slider1').anythingSlider({
expand: false,
resizeContents: false,
startText : "Start",
stopText : "Stop",
theme : 'simple', // Si la CSS du theme n'a pas ete activee dans le formulaire de config, le theme par defaut sera utilise.
buildArrows: true,
buildNavigation: true,
buildStartStop: false,
toggleControls: false,
autoPlay: true,
delay : 2000
});
});
//]]></script>
</B_liste_articles>
<div class='formulaire_spip formulaire_configurer formulaire_configurer_anythingslider' id='formulaire_configurer_anythingslider'>
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
<form action="#ENV{action}#formulaire_configurer_media" method="post" enctype='multipart/form-data'><div>
[(#ACTION_FORMULAIRE{#ENV{action}})]
<div class='explication'><:anythingslider:explication_configurer_anythingslider:></div>
<ul>
<li class="editer_themes[ (#ENV**{erreurs}|table_valeur{themes}|oui)erreur]">
<label><:anythingslider:label_themes:></label>
<div class="choix">
#SET{choix,theme-construction.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,theme-cs-portfolio.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,theme-metallic.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,theme-minimalist-round.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,theme-minimalist-square.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,theme-simple.css}
<input type="checkbox" name="themes[]" class="checkbox" id="themes_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="themes_#GET{choix}">#GET{choix}</label>
</div>
</li>
<li class="editer_scripts[ (#ENV**{erreurs}|table_valeur{scripts}|oui)erreur]">
<label><:anythingslider:label_scripts:></label>
<div class="choix">
#SET{choix,jquery.anythingslider.video.min.js}
<input type="checkbox" name="scripts[]" class="checkbox" id="scripts_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="scripts_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,jquery.anythingslider.fx.min.js}
<input type="checkbox" name="scripts[]" class="checkbox" id="scripts_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="scripts_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,swfobject.js}
<input type="checkbox" name="scripts[]" class="checkbox" id="scripts_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="scripts_#GET{choix}">#GET{choix}</label>
</div>
<div class="choix">
#SET{choix,jquery.easing.1.2.js}
<input type="checkbox" name="scripts[]" class="checkbox" id="scripts_#GET{choix}" [(#GET{choix}|in_array{#ENV{_config}}|oui)checked="checked"] value="#GET{choix}"[(#GET{choix}|in_array{#ENV{_lock}}|oui)disabled="disabled"] />
<label for="scripts_#GET{choix}">#GET{choix}</label>
</div>
</li>
</ul>
<p class='boutons'><input class='submit' type="submit" name="ok" value="<:bouton_enregistrer:>"/></p>
</div></form>
</div>
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
function formulaires_configurer_anythingslider_charger_dist(){
$valeurs = array();
$config =unserialize($GLOBALS['meta']['anythingslider']);
if (!is_array($config))
$config = array();
$config = pipeline('anythingslider_charger',$config);
$valeurs['_config'] = $config;
$valeurs['_lock'] = pipeline('anythingslider_charger',array());
return $valeurs;
}
function formulaires_configurer_anythingslider_traiter_dist(){
$themes = is_array(_request('themes')) ? _request('themes') : array();
$scripts = is_array(_request('scripts')) ? _request('scripts') : array();
$config = array_merge($themes,$scripts);
ecrire_meta('anythingslider',serialize($config));
ecrire_metas();
return array('message_ok'=>_T('config_info_enregistree'));
}
?>
jQuery(function(){
if (dir_anythingslider && jQuery('.slider-anythingslider').length){
/**
* Fonction d'initialisation de chaque slider
*/
var my_anythinslider = {
init : function(){
var css_def = false;
jQuery('.slider-anythingslider:not(.initialized)').each(function(){
var me=jQuery(this);
var settings = {
navigationFormatter: my_anythinslider.navigationFormatter
};
var options=eval('options='+me.attr('data-slider')+';');
if (options) {
// charger les CSS du slider
if (options.css){
for (var k=0;k<options.css.length;k++) {
if (options.css[k].length){
my_anythinslider.addStylesheet(options.css[k]);
var m;
if (m = options.css[k].match(/\/theme-(.*)[.]css$/)){
options.theme = m[1]; // definir le theme en fonction du nom de la css
}
}
}
} else {
css_def = true; // charger les CSS par defaut
}
// charger les JS additionnels
if (options.js){
for (var k=0;k<options.js.length;k++) {
if (options.css[k].length){
my_anythinslider.addJavascript(options.js[k]);
}
}
}
settings = jQuery.extend(settings,options);
} else {
css_def = true; // charger les CSS par defaut
}
me.anythingSlider(settings).addClass('initialized');
});
if (css_def) { // faut-il charger les CSS par defaut ?
my_anythinslider.addStylesheet(css_defaut_anythinslider);
}
},
addStylesheet : function(url) {
var stylesheet = document.createElement('link');
stylesheet.rel = 'stylesheet';
stylesheet.type = 'text/css';
stylesheet.href = url;
document.getElementsByTagName('head')[0].appendChild(stylesheet);
},
addJavascript : function(url) {
var javascript = document.createElement('script');
javascript.type = 'text/javascript';
javascript.src = url;
document.getElementsByTagName('head')[0].appendChild(javascript);
},
navigationFormatter : function(index, panel){ // Format navigation labels with text
if (jQuery('.slider-nav',panel).length)
return jQuery('.slider-nav',panel).html();
else
return index+""; // Il faut convertir en texte
}
};
jQuery.getScript(dir_anythingslider+"js/jquery.anythingslider.min.js",function(){
my_anythinslider.init();
onAjaxLoad(my_anythinslider.init);
});
}
});
/* See http://css-tricks.github.com/AnythingSlider/ for options */
\ No newline at end of file
<?php
// Sécurité
if (!defined("_ECRIRE_INC_VERSION")) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
'anythingslider' => 'AnythingSlider',
'configurer_anythingslider' => 'Configurer AnythingSlider',
'explication_configurer_anythingslider' => 'Choisissez les éléments à insérer dans l\'en-tête des pages publiques (voir la <a href="https://github.com/ProLoser/AnythingSlider/wiki">documentation du script</a>).',
'label_scripts' => 'Scripts optionnels',
'label_themes' => 'Thèmes',
);
?>
\ No newline at end of file
<?php
// Ceci est un fichier langue de SPIP -- This is a SPIP language file
/// Fichier produit par PlugOnet
// Module: paquet-anythingslider
// Langue: fr
// Date: 27-11-2012 18:34:56
// Items: 2
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'anythingslider_description' => 'Ce plugin permet d\'insérer facilement le script jQuery [AnythingSlider->https://github.com/CSS-Tricks/AnythingSlider] dans votre SPIP pour l’utiliser dans vos squelettes. Il peut être également être utilisé comme ressource pour d\'autres plugins.',
'anythingslider_slogan' => 'Faire défiler du contenu dans vos squelettes',
);
?>
\ No newline at end of file
/* wrapper backgrounds by Rob Garrison (aka Mottie) */
#wrapper {
width: 800px;
height: 430px;
padding: 40px;
margin: 0 auto;
}
/*************
Glass
*************/
#wrapper.glass {
border: 1px solid rgba(0,0,0,0.5);
-moz-border-radius: 10px 10px 2px 2px;
-webkit-border-radius: 10px 10px 2px 2px;
border-radius: 10px 10px 2px 2px;
-moz-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
}
/*************
Glowy backlight
*************/
#wrapper.glowy {
width: 80%;
background: -moz-radial-gradient(50% 50%, farthest-side, #695750, #000);
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 100, from(#695750), to(#000));
background: gradient(radial, 50% 50%, 0, 50% 50%, 100, from(#695750), to(#000));
}
/*************
Paper
curled corners from http://matthamm.com/box-shadow-curl.html
*************/
#wrapper.paper {
position: relative;
background: #fff url(../images/bkgd-paper.jpg);
border: 1px solid #cacfc5;
height: 390px;
padding: 40px;
margin: 0 auto;
-moz-border-radius:0;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
}
.paper:before, .paper:after {
content: '';
z-index: -1;
position: absolute;
left: 23px;
bottom: 13px;
width: 70%;
max-width: 300px; /* avoid rotation causing ugly appearance at large container widths */
height: 55%;
-webkit-box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
-webkit-transform: skew(-15deg) rotate(-6deg);
-moz-transform: skew(-15deg) rotate(-6deg);
transform: skew(-15deg) rotate(-6deg);
}
.paper:after {
left: auto;
right: 23px;
-webkit-transform: skew(15deg) rotate(6deg);
-moz-transform: skew(15deg) rotate(6deg);
transform: skew(15deg) rotate(6deg);
}
/*************
Carbon fiber image
*************/
#wrapper.carbonfiber {
border: rgba(22,22,22,1) 2px solid;
background-image: -moz-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-carbon-fiber.gif);
background-image: -webkit-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-carbon-fiber.gif);
background-image: repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-carbon-fiber.gif);
}
.as-oldie #wrapper.carbonfiber {
border: rgb(22,22,22) 2px solid;
background-image: url(../images/bkgd-carbon-fiber.gif);
}
/*************
Leather image
*************/
#wrapper.leather {
background-color: rgba(117, 117, 117, 0.5);
background-image: -moz-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-leather.jpg);
background-image: -webkit-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-leather.jpg);
background-image: repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.4), rgba(0, 0, 0, 0.4) 100%), url(../images/bkgd-leather.jpg);
}
.as-oldie #wrapper.leather {
background-color: rgb(117, 117, 117);
background-image: url(../images/bkgd-leather.jpg);
}
/*************
Dark wood image
*************/
#wrapper.dark-wood {
background-image: url(../images/bkgd-wood1.jpg);
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
}
/*************
Light Wood image
*************/
#wrapper.light-wood {
background-image: -moz-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.5), rgba(0, 0, 0, 0.5) 100%), url(../images/bkgd-wood2.jpg);
background-image: -webkit-repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.5), rgba(0, 0, 0, 0.5) 100%), url(../images/bkgd-wood2.jpg);
background-image: repeating-radial-gradient(50% 50%, circle cover, rgba(117, 117, 117, 0.5), rgba(0, 0, 0, 0.5) 100%), url(../images/bkgd-wood2.jpg);
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
}
.as-oldie #wrapper.light-wood {
background-image: url(../images/bkgd-wood2.jpg);
}
/*************
Noise overlay
*************/
#wrapper.noise {
background-image: url(../images/bkgd-noise.png);
border: rgba(128,128,128,0.1) 1px solid;
}
.as-oldie #wrapper.noise {
border: rgb(128,128,128) 1px solid;
}
\ No newline at end of file
lib/anythingslider/images/bkgd-carbon-fiber.gif

828 octets

lib/anythingslider/images/bkgd-leather.jpg

11,3 ko

lib/anythingslider/images/bkgd-noise.png

10,6 ko

lib/anythingslider/images/bkgd-paper.jpg

16,7 ko

lib/anythingslider/images/bkgd-wood1.jpg

19,9 ko

lib/anythingslider/images/bkgd-wood2.jpg

25,9 ko

<paquet
prefix="anythingslider"
categorie="multimedia"
version="2.0.0"
etat="dev"
compatibilite="[2.1.0;3.0.99]"
logo="prive/themes/spip/images/anythingslider.png"
documentation="http://www.spip-contrib.net/?article4283"
>
<nom>AnythingSlider</nom>
<!-- Faire défiler du contenu dans vos squelettes -->
<auteur lien="http://css-tricks.com">Chris Coyier</auteur>
<auteur lien="https://github.com/CSS-Tricks/AnythingSlider-Themes">AnythingSlider-Themes</auteur>
<auteur lien="http://www.spip-contrib.net/Joseph">Joseph</auteur>
<auteur lien="http://www.yterium.com">Cedric Morin Yterium</auteur>
<auteur lien="http://romy.tetue.net">romy.tetue.net</auteur>
<licence lien="http://www.gnu.org/licenses/gpl-3.0.html">GPL 3</licence>
<pipeline nom="affichage_final" inclure="anythingslider_pipelines.php" />
<pipeline nom="header_prive" inclure="anythingslider_pipelines.php" />
</paquet>
<plugin>
<nom>AnythingSlider</nom>
<slogan>Faire d&#233;filer du contenu dans vos squelettes</slogan>
<auteur>[Chris Coyier, Remy Sharp, Doug Neiner, ProLoser->https://github.com/ProLoser/AnythingSlider/wiki/Credits] pour le script AnythingSlider, [Joseph->http://www.spip-contrib.net/Joseph] pour la mise en plugin SPIP</auteur>
<icon>images/anythingslider.png</icon>
<auteur><i lang="en">Original by [Chris Coyier->http://css-tricks.com] and [many others->https://github.com/CSS-Tricks/AnythingSlider/wiki/Credits]</i>, incluant [AnythingSlider-Themes->https://github.com/CSS-Tricks/AnythingSlider-Themes], mis en plugin par [Joseph->http://www.spip-contrib.net/Joseph], [Cedric Morin Yterium->http://www.yterium.com] et [romy.tetue.net->http://romy.tetue.net]</auteur>
<icon>prive/themes/spip/images/anythingslider.png</icon>
<licence>GNU/GPL</licence>
<version>2.0.0</version>
<etat>dev</etat>
<description>Ce plugin permet d'ins&#233;rer facilement le script jQuery [AnythingSlider->https://github.com/ProLoser/AnythingSlider/wiki] dans votre SPIP pour l’utiliser dans vos squelettes. Il peut &#234;tre &#233;galement &#234;tre utilis&#233; comme ressource pour d'autres plugins.</description>
<lien>http://www.spip-contrib.net/?article3897</lien>
<description>Ce plugin permet d'ins&#233;rer facilement le script jQuery [AnythingSlider->https://github.com/CSS-Tricks/AnythingSlider] dans votre SPIP pour l’utiliser dans vos squelettes. Il peut &#234;tre &#233;galement &#234;tre utilis&#233; comme ressource pour d'autres plugins.</description>
<lien>http://www.spip-contrib.net/?article4283</lien>
<prefix>anythingslider</prefix>
<pipeline>
<nom>anythingslider_charger</nom>
<nom>affichage_final</nom>
<inclure>anythingslider_pipelines.php</inclure>
</pipeline>
<pipeline>
<nom>insert_head</nom>
<nom>header_prive</nom>
<inclure>anythingslider_pipelines.php</inclure>
</pipeline>
<bouton id='anythingslider_2' parent='configuration'>
<icone>images/anythingslider-24.png</icone>
<titre>anythingslider:anythingslider</titre>
<url>configurer_anythingslider</url>
</bouton>
<bouton id='anythingslider' parent='bando_squelette'>
<icone>images/anythingslider-16.png</icone>
<titre>anythingslider:anythingslider</titre>
<url>configurer_anythingslider</url>
</bouton>
<necessite id="SPIP" version="[2.1.0;3.0.99]" />
<categorie>multimedia</categorie>
</plugin>
<!-- titre=<:anythingslider:configurer_anythingslider:> -->
<!-- icone=images/anythingslider-24.png -->
#CACHE{0}
<h1 class="grostitre"><:anythingslider:configurer_anythingslider:></h1>
<div class="ajax">
#FORMULAIRE_CONFIGURER_ANYTHINGSLIDER
</div>
\ No newline at end of file
prive/themes/spip/images/anythingslider-16.png

792 octets

0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter