-
sto utilizzando lo script LIGHTBOX JS V2.02 in questo script:
<SCRIPT type=text/javascript> var dynimages=new Array() dynimages[0]=["image/V.jpg", "<b>VERDE</b><br>Cazzate varie", "#ffffff", "33px"] dynimages[1]=["image/G.jpg", "TESTO 1", "#333333", "161px"] dynimages[2]=["image/B.jpg", 'TESTO 2 .... <a href="images/image-1.png" rel="lightbox">Portfolio</a>', "#ffffff", "161px"] dynimages[3]=["image/R.jpg", "<b>TESTO3", "#ffffff", "161px"] dynimages[4]=["image/H.jpg", "TESTO4", "", ""] //Preload images ("yes" or "no"): var preloadimg="yes" //Set optional link target to be added to all images with a link: var optlinktarget="" //Set image border width var imgborderwidth=0 //Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+: var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(Gra dientSize=1.0 Duration=0.7)" ///////No need to edit beyond here///// if (preloadimg=="yes"){ for (x=0; x<dynimages.length; x++){ var myimage=new Image() myimage.src=dynimages[x][0] } } function returnimgcode(theimg){ var imghtml="" if (theimg[1]!="") imghtml='<DIV style="height:253px; width:550px; background:url('+theimg[0]+')"><p style="margin-left:12px; margin-top:'+theimg[3]+'"><FONT style="FONT-SIZE: 11px" face=arial color='+theimg[2]+'>'+theimg[1]+'</font></p></DIV>' if (theimg[1]!="") imghtml+='</a>' return imghtml } function modifyimage(loadarea, imgindex){ if (document.getElementById){ var imgobj=document.getElementById(loadarea) if (imgobj.filters && window.createPopup){ imgobj.style.filter=filterstring imgobj.filters[0].Apply() } imgobj.innerHTML=returnimgcode(dynimages[imgindex]) if (imgobj.filters && window.createPopup) imgobj.filters[0].Play() return false } } </SCRIPT>però l'attributo REL non funziona. Come posso ovviare al problema?
-
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi