Overblog
Editer l'article Suivre ce blog Administration + Créer mon blog
Djehouty - Weblog

Société - Média - Informatique - Formation

Installer un pop-up avec Floatbox

 Installation du pop-up


1) Téléchargement de l'application floatbox

2) Installation sur le site du dossier

3) Créer une page qui contient l'image avec un lien vers le site cible


4) Installation dans le code de la page qui doit recevoir le pop-up les éléments suivants


 

dans le HEAD
<link type="text/css" rel="stylesheet" href="/floatbox/floatbox.css" />
<script type="text/javascript" src="/floatbox/floatbox.js"></script>


Dans le BODY

<a href="http://www.monsite.fr/mapageavecimage.html" width="680" height="445" rel="floatbox" rev= "width:680 height:445 scrolling:no autoStart:true theme:black outerBorder=0 innerBorder=0 padding:10 panelPadding:0"><img src="images/strongbad_thumb.jpg" width="1" height="1" border="0"></a>
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :