Trucs et Astuces

ID #1026

Mettre un "SAVOIR PLUS" pour raccourcir un long texte

Dans vos boutons "actualités" et "présentation" il est possible de rajouter une petite balise qui vous permettra de faire un petit lien "en savoir+" afin de ne pas faire apparaître une actualité trop longue en texte, de la couper à un moment donné pour en lire la suite...

Exemple d'un long texte

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.

---------------------------------------------------------------------------------------------------------------------------------------------------

On voudrait que notre texte s'arrête après Lorem Ipsum.
Pour cela, il faut aller dans "source", bouton qui se trouve sur le côté gauche de votre barre d'outils de l'administrateur.
En tout début, vous devez écrire <INTRO> et après le Lorem Ipsum, là où vous voulez que votre texte s'arrête vous écrivez </INTRO>

Comme ceci :
<INTRO>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</INTRO>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
---------------------------------------------------------------------------------------------------------------------------------------------------
Puis ensuite vous validez votre modification.
Sur le site, vous appuyez sur la touche F5 de votre clavier pour mettre à jour votre internet explorer, et un petit lien "en savoir +" ou "plus d'infos" s'est affiché, là où vous l'avez souhaité. Pour lire la suite de votre actu, il suffit de cliquer dessus et pour revenir, à la fin de l'article, il y aura un autre lien intitulé "retour"...

Tags: -

Related entries:

Dernière mise à jour: 2009-09-16 15:32
Auteur: Fanie
Révision: 1.2

Digg it! Imprimer cet article Envoyer à un ami version PDF
Propose a translation for Propose a translation for
Merci de noter cette entrée:

Moyenne des notes: 0 sur 5 (0 Votes)

complètement inutile 1 2 3 4 5 indispensable

Vous ne pouvez pas commenter cet enregistrement