Changeset 50058 in spip-zone
- Timestamp:
- Jul 28, 2011, 7:57:13 PM (8 years ago)
- Location:
- _plugins_/sjcycle2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/sjcycle2/aide/en-aide.html
r44358 r50058 42 42 <li> 43 43 <h4><sjcycleN|ALIGN|<span style="color:red">docs=n1,n2</span>></h4> 44 <strong>Parameter "<span style="color:#666">docs=n1,n2,[...],nx</span>", optional :</strong>44 <strong>Parameter "<span style="color:#666">docs=n1,n2,[...],nx</span>", optional :</strong> 45 45 <br /> 46 46 Allows to specify the list of images to be displayed in the slide show. … … 60 60 <li> 61 61 <h4><sjcycleN|ALIGN|<span style="color:red">id_diapo=X</span>></h4> 62 <strong>Parameter "<span style="color:#666">id_diapo=X</span>", optional :</strong> <br />62 <strong>Parameter "<span style="color:#666">id_diapo=X</span>", optional :</strong> <br /> 63 63 Allows to attribute a specific id to a slide show to be able to target it in css by dsjcycle_X<br /> 64 64 Since the version 1.1, not necessary any more to display several slide shows in the same article<br /> … … 70 70 <li> 71 71 <h4><sjcycleN|ALIGN|<span style="color:red">legende=X</span>></h4> 72 <strong>Parameter "<span style="color:#666">legende=X</span>", optional :</strong> <br />72 <strong>Parameter "<span style="color:#666">legende=X</span>", optional :</strong> <br /> 73 73 Allows to post a legend under the slide show 74 74 <ul> … … 80 80 <li> 81 81 <h4><sjcycleN|ALIGN|<span style="color:red">opt=p1:v1;p2:v2</span>></h4> 82 <strong>Parameter "<span style="color:#666">opt=p1:v1;p2:v2;[...];px:vx</span>", optional :</strong> <br />82 <strong>Parameter "<span style="color:#666">opt=p1:v1;p2:v2;[...];px:vx</span>", optional :</strong> <br /> 83 83 Allows to use the options of the script jcycle. The complete list is defined on the site of the plugin jquery jcycle <a href="http://malsup.com/jquery/cycle/options.html" target="_blank">here</a>.<br /> 84 84 These values overwrite those defined in the configuration page of the plugin.<br /> … … 88 88 <sjcycle16|center|opt=fx:'fade'> :Slide show on all the images of the article 16 with a « fade » effect of transition which replaces the one defined globally for the whole site<br /> 89 89 </li> 90 <li> 91 <h4><sjcycleN|ALIGN|<span style="color:red">lien_article=XXX</span>></h4> 92 <strong>Parameter "<span style="color:#666">lien_article=XXX</span>", optional :</strong> <br /> 93 <span id="result_box" lang="en" xml:lang="en"><span title="Cliquer ici pour voir d'autres traductions">Lets</span> <span title="Cliquer ici pour voir d'autres traductions">put</span> <span title="Cliquer ici pour voir d'autres traductions">a link on the</span> <span title="Cliquer ici pour voir d'autres traductions">slideshow to</span> <span title="Cliquer ici pour voir d'autres traductions">an</span> <span title="Cliquer ici pour voir d'autres traductions">article</span> <span title="Cliquer ici pour voir d'autres traductions">XXX</span> <span title="Cliquer ici pour voir d'autres traductions">other than that</span> <span title="Cliquer ici pour voir d'autres traductions">containing</span> <span title="Cliquer ici pour voir d'autres traductions">images.</span> <span title="Cliquer ici pour voir d'autres traductions">In the case of</span> <span title="Cliquer ici pour voir d'autres traductions">a multilingual site</span><span title="Cliquer ici pour voir d'autres traductions">, provide</span> <span title="Cliquer ici pour voir d'autres traductions">the id of</span> <span title="Cliquer ici pour voir d'autres traductions">the reference article</span><span title="Cliquer ici pour voir d'autres traductions">, the model</span> <span title="Cliquer ici pour voir d'autres traductions">is responsible for finding</span> <span title="Cliquer ici pour voir d'autres traductions">the id of</span> <span title="Cliquer ici pour voir d'autres traductions">the article</span> <span title="Cliquer ici pour voir d'autres traductions">to</span> <span title="Cliquer ici pour voir d'autres traductions">the visitor's language</span><span title="Cliquer ici pour voir d'autres traductions">.</span> <span title="Cliquer ici pour voir d'autres traductions">This option disables</span> <span title="Cliquer ici pour voir d'autres traductions">the opening</span> <span title="Cliquer ici pour voir d'autres traductions">in a</span> <span title="Cliquer ici pour voir d'autres traductions">box.</span></span><br /> 94 <strong>Example :</strong><br /> 95 <sjcycle16|center|lien_article=171> : Slide show on all the images of the article 16 with a link to the article 171 </li> 90 96 <li> 91 97 <h4><sjcycleN|ALIGN|<span style="color:red">param=valeur</span>><br /> -
_plugins_/sjcycle2/aide/fr-aide.html
r44358 r50058 83 83 Ces valeurs écrasent 84 84 celles définies dans la page de configuration du plugin.<br /> 85 Les options possibles correspondent à celles de la version utilisée dans ce plugin spip et non à celles proposées sur la page citée ci-dessus. Actuellement, c'est la version 2.88 (08-JUN-2010) qui est utilisée 85 Les options possibles correspondent à celles de la version utilisée dans ce plugin spip et non à celles proposées sur la page citée ci-dessus. Actuellement, c'est la version 2.88 (08-JUN-2010) qui est utilisée<br /> 86 86 <strong>Exemple :</strong><br /> 87 87 <sjcycle16|center|opt=autostop:1;autostopCount:5> : diaporama sur toutes les images de l'article 16 mais qui s'arrêtera à la cinquième image<br /> 88 <sjcycle16|center|opt=fx:'fade'> : diaporama sur toutes les images de l'article 16 avec un effet de transition "fade" qui remplace celui défini globalement pour le site entier<br /> 88 <sjcycle16|center|opt=fx:'fade'> : diaporama sur toutes les images de l'article 16 avec un effet de transition "fade" qui remplace celui défini globalement pour le site entier</li> 89 <li> 90 <h4><sjcycleN|ALIGN|<span style="color:red">lien_article=XXX</span>></h4> 91 <strong>Paramètre "<span style="color:#666">lien_article=XXX</span>", optionnel :</strong> <br /> 92 Permet de poser un lien sur le diaporama vers un article d'identifiant XXX autre que celui contenant les images. Dans le cas d'un site multilingue, fournir l'id de l'article de référence, le modèle se charge de trouver l'id de l'article correspondant à la langue du visiteur. Cette option désactive l'ouverture vers une box.<br /> 93 <strong>Exemple :</strong><br /> 94 <sjcycle16|center|lien_article=171> : diaporama sur toutes les images de l'article 16 avec un lien vers l'article 171 95 89 96 </li> 90 97 <li> 91 <h4><sjcycleN|ALIGN|<span style="color:red">param=valeur</span>><br /> 92 </h4> 98 <h4><sjcycleN|ALIGN|<span style="color:red">param=valeur</span>></h4> 93 99 <strong>Autres paramètres optionnels :</strong> 94 100 <br /> -
_plugins_/sjcycle2/alire.txt
r45121 r50058 51 51 52 52 V 1.4 : 53 - MAJ de la librairie jsycle 53 - MAJ de la librairie jcycle 54 55 V 1.5 : 56 - Ajout d'un modèle pour afficher sous forme de diaporama les logos des sites référencés. Et la noisette qui va avec. 57 58 V 1.6 : 59 - Ajout de la possiblité de poser un lien sur le diaporama vers un article autre que celui contenant les images. Dans le cas d'un site multilingue, fournir l'id de l'article de référence, le modèle se charge de trouver l'id de l'article correspondant à la langue du visiteur. Cette option désactive l'ouverture vers une box. 54 60 55 61 A faire : -
_plugins_/sjcycle2/modeles/sjcycle.html
r49798 r50058 18 18 [(#SET{div_width, #GET{img_bordure}|mult{2}|plus{#GET{img_width}} })] 19 19 20 [(#REM) Si un lien est demande vers un article, on cherche eventuellement l'id de l'article traduit ] 21 <BOUCLE_contexte_article(ARTICLES){id_article=#ENV{lien_article}}> 22 <BOUCLE_traductions(ARTICLES){traduction}> 23 [(#ENV{lang}|=={#LANG}|oui) 24 #SET{id_article_a_lier,#ID_ARTICLE} 25 #SET{titre_article_a_lier,#TITRE}] 26 </BOUCLE_traductions> 27 </BOUCLE_contexte_article> 28 20 29 [(#REM) Je ne sais plus a quoi ca sert, mais ca gene pour l'affichage des legendes a partir des titres des documents 21 30 C'etait auparavant dans le style de la div principale ] … … 25 34 26 35 <B_img> 27 <script type="text/javascript"> 36 <script type="text/javascript">/*<!#EVAL{chr(91)}CDATA#EVAL{chr(91)}*/ 28 37 $(document).ready(function() { 29 38 [(#CONFIG{sjcycle/tooltip}|=={on}|oui) … … 62 71 }); 63 72 64 </script>73 /*#EVAL{chr(93)}[(#EVAL{chr(93)})]>*/</script> 65 74 [(#REM) diaporama documents images conteneur jquery cycle ] 66 75 [(#SET{style,[float:(#ENV{align}|match{left|right});margin:[(#GET{div_margin})]px;][width:(#GET{div_width})px;][background:(#GET{div_background})]})] … … 82 91 margin:[(#GET{img_bordure})]px;"> 83 92 ] 84 [(#CONFIG{sjcycle/fancy}|=={on}|ou{#CONFIG{sjcycle/mediabox}|=={on}}|oui) 93 [(#REM) Si un lien est demande vers un article, on annule l'ouverture vers une box ] 94 #SET{fermer_a,non} 95 [(#GET{id_article_a_lier}|oui) 96 <a href="#URL_ARTICLE{#GET{id_article_a_lier}}" title="#GET{titre_article_a_lier}"> 97 #SET{fermer_a,oui}] 98 [(#GET{id_article_a_lier}|non|et{#CONFIG{sjcycle/fancy}|=={on}|ou{#CONFIG{sjcycle/mediabox}|=={on}}|oui}) 85 99 <a href="[(#URL_DOCUMENT)]" type="#MIME_TYPE" 86 100 class="#GET{cssbox}" … … 88 102 [(#CONFIG{sjcycle/tooltip}|=={on}|non) title="[(#TITRE|supprimer_numero|attribut_html)]"] 89 103 style="display:block;padding:0px;margin:0px;"> 90 ]104 #SET{fermer_a,oui}] 91 105 [(#GET{img_background}|=={'transparent'}|oui) 92 106 [(#FICHIER|image_reduire{ #GET{img_width}, … … 110 124 |inserer_attribut{style,"display:block;"})] 111 125 ] 112 [(# CONFIG{sjcycle/fancy}|=={on}|ou{#CONFIG{sjcycle/mediabox}|=={on}}|oui)126 [(#GET{fermer_a}|oui) 113 127 </a> 114 128 ] -
_plugins_/sjcycle2/plugin.xml
r49512 r50058 4 4 [Minimalteck->http://www.minimalteck.fr/]. Porté pour spip 2 par Yffic 5 5 </auteur> 6 <version>1. 5.1</version>6 <version>1.6</version> 7 7 <version_base>0.5</version_base> 8 8 <etat>test</etat>
Note: See TracChangeset
for help on using the changeset viewer.