Probléme lightbox

kar2903 -  
gggphoto Messages postés 1 Statut Membre -
Bonjour,
J'ai vraiment besoin de votre aide. Je travaille sur dreamweaver et souhaite insérer une galerie lightbox sur mon site web. Mais voila après avoir insérer les codes, ça ne marche pas, la seconde image s'ouvre sur une autre page blanche, pas d'effets lightbox comme le chargement ni le fond transparent. Voici mon code :

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://mon site web/lightbox.js"></script>

</head>

<body>

<h2 align ="center"> Tutoriel </h2>
<a href="BOOK OEUVRES/image1.jpg"rel="lightbox [roadtrip]"><img src="BOOK OEUVRES/image1-1" /></a>
<a href="BOOK OEUVRES/image2"rel="lightbox[roadtrip] "><img src="image2-2" /></a>
<a href="BOOK OEUVRES/image3"rel="lightbox[roadtrip]"><img src="BOOK OEUVRES/image3-3" /></a>

</body>
Merci d'avance pour votre aide
Configuration: Windows Vista
Internet Explorer 7.0

2 réponses

  1. ben85350 Messages postés 622 Statut Membre 27
     
    Salut !
    Peut -être que ton lien n'est pas correct :
    <img src="image3-3" />
    0
  2. gggphoto Messages postés 1 Statut Membre
     
    Bonjour,

    j'avais eu le même problème avec l'extension pour dreamweawer que tu peux trouver à cette adresse-là :

    http://ww1.fourlevel.com

    Le mec m'a répondu cela :

    There is a function call on the body ( onLoad) called "CSSScriptInit()" and it has an error. There doesn't appear to be this function antwhere so it throws an error. If you remove it it will likely take care of the Lightbox issue.

    Il faut que tu ailles dans ta page html et que tu modifie le code à la mano...

    Si ce n'est pas cela, je ne vois pas
    0