Révisions :
« blocs:description : couteauprive - en »

Révisions

# Date Auteur
Février 2014 Hanjo
Décembre 2013 Hanjo
Avril 2012 PatV
Avril 2012 George
Juin 2011 -1

Différences entre version No5 et version No4

Texte de la chaine de langue

Allows you to create blocks which are shown/hidden when you click on their titles.

@puce@ In SPIP? text : authors can use the new (or ) and tags in their text as below :

<blockquote class="spip">
<bloc>
A clickable title


The text to be shown/hidden, after two empty lines.
</bloc>
</blockquote>

@puce@ In templates : you can use the new #BLOC_TITRE, #BLOC_DEBUT and #BLOC_FIN tags like this :

<blockquote class="spip">
#BLOC_TITRE or #BLOC_TITRE(my_URL)
My title
#BLOC_RESUME    (optional)
a summary version of the following block
#BLOC_DEBUT
My collapsible block (which will contain the indicated URL, if needed)
#BLOC_FIN
</blockquote>

@puce@ If you tick "yes" below, opening one block will cause all other blocks on the page to close. i.e. Only only one block is open at a time. [1]

@puce@ If you tick "yes" below, the state of the numbered blocks will be kept in a session cookie, in order to maintain the page’s appearance as long as the session lasts. [2]

@puce@ By default, the Swiss Army Knife plugin uses the HTML tag

for the titles of the collapsible blocks. You can specify another tag to use instead here  : [3]

@puce@ In order to obtain a smoother transition when you click on the title, your collapsible blocks can be animated with a "sliding" effect". [4][%blocs_millisec% milliseconds]

Traducteur(s)
4705, 18, 4652, 6215
Statut
OK
Notes

[1%bloc_unique%

[2%blocs_cookie%

[3%bloc_h4%

[4%blocs_slide%