Révisions :
« spipopup_description : paquet-spipopup - en »
Révisions
Différences entre version No2 et version No1
Manage a single Gestion d’une fenêtre popup window (external window fenêtre externe ) as a unique sous forme de squelette SPIP? skeleton with adjustable size for different uses et aux dimensions réglables pour différents usages .
#POPUP tag use Utilisation de la balise # POPUP
#POPUP{object SPIP,skeleton,width,height,title,options} #POPUP{objet SPIP,squelette,width,height,titre,options}
– objet SPIP : ’article1’ or ou ’id_article=1’ (Valid by default for any editorial (valable par défaut pour tout objet éditorial de SPIP purpose ).
– squelette : skeleton used to display the window squelette utilisé pour afficher la fenêtre (optionnal optionnel - by default par défaut : ’popup_defaut.html’).
– width : window width in la largeur de la fenêtre en pixels (optionnel - 620px by default par défaut ).
– height : window height in la hauteur de la fenêtre en pixels (optionnal optionnel - 640px by default par défaut ).
– titre : the title added to the link le titre ajouté au lien .
– options : A un tableau d’options JavaScript table options for the new window pour la nouvelle fenêtre (location, status ...).
Model use in your Utilisation du modèle dans les articles
<popup
|text=text of the link texte=le texte du lien (mandatory necessaire )
|link=SPIP object for the link |lien=objet SPIP pour le lien (mandatory necessaire )
|skel=skeleton |skel=squelette (option)
|width=XX (option)
|height=XX (option)
|title=my title |titre=mon titre (option)
>
Same Mêmes options than the tag que la balise , the text of the link has been added le texte du lien en plus .
Back to the Retour de la balise #POPUP tag POPUP
The La balise retourne un tag gives a tag link de lien (a
) with the following avec les attributssuivants :
– href = " url "
– onclick = " _popup_set(’url’, width, height, options) ; return false ; "
– title = " title titre - new window nouvelle fenêtre "