La langue principale de ce module comporte 2 items.
Module traduit à 100%
100%
0%
0%
0%
Code de langue
Traduction fr
Traduction en
Date
Statut
spipopup_description
Gestion d’une fenêtre popup ({fenêtre externe}) unique sous forme de squelette SPIP et aux dimensions réglables pour différents usages.
{{Utilisation de la balise #POPUP }}
<code>
#POPUP{objet SPIP,squelette,width,height,titre,options}
</code>
- {{objet SPIP}} : ’article1’ ou ’id_article=1’ (valable par défaut pour tout objet éditorial de SPIP).
- {{squelette}} : squelette utilisé pour afficher la fenêtre ({optionnel - par défaut : ’{{popup_defaut.html}}’}).
- {{width}} : la largeur de la fenêtre en pixels ({optionnel - {{620px}} par défaut}).
- {{height}} : la hauteur de la fenêtre en pixels ({optionnel - {{640px}} par défaut}).
- {{titre}} : le titre ajouté au lien.
- {{options}} : un tableau d’options JavaScript pour la nouvelle fenêtre ({location, status ...}).
{{Utilisation du modèle dans les articles}}
<code>
<popup
|texte=le texte du lien (necessaire)
|lien=objet SPIP pour le lien (necessaire)
|skel=squelette (option)
|width=XX (option)
|height=XX (option)
|titre=mon titre (option)
>
</code>
Mêmes options que la balise, le texte du lien en plus.
{{Retour de la balise #POPUP }}
La balise retourne un tag de lien (<code>a</code>) avec les attributs suivants :
- href = " url "
- onclick = " _popup_set(’url’, width, height, options) ; return false ; "
- title = " titre - nouvelle fenêtre "
Manage a single popup window ({external window}) as a SPIP skeleton with adjustable size for different uses.
{{#POPUP tag use}}
<code>
#POPUP{object SPIP,skeleton,width,height,title,options}
</code>
- {{objet SPIP}} : ’article1’ or ’id_article=1’ (Valid by default for any editorial SPIP purpose).
- {{squelette}} : skeleton used to display the window ({optionnal - by default : ’{{popup_defaut.html}}’}).
- {{width}} : window width in pixels ({optionnel - {{620px}} by default}).
- {{height}} : window height in pixels ({optionnal - {{640px}} by default}).
- {{titre}} : the title added to the link.
- {{options}} : A JavaScript table options for the new window ({location, status ...}).
{{Model use in your articles}}
<code>
<popup
|text=text of the link (mandatory)
|link=SPIP object for the link (mandatory)
|skel=skeleton (option)
|width=XX (option)
|height=XX (option)
|title=my title (option)
>
</code>
Same options than the tag, the text of the link has been added.
{{Back to the #POPUP tag}}
The tag gives a tag link (<code>a</code>) with the following attributs :
- href = " url "
- onclick = " _popup_set(’url’, width, height, options); return false; "
- title = " title - new window "
2013-09-30 15:59:42
OK
spipopup_slogan
Gestion d’une fenêtre popup unique en squelette SPIP
Manage a single popup window in SPIP skeleton
2013-09-24 01:23:36
OK
Informations sur les traductions
français (fr) - Langue mère Nombre total d’items : 2