lightbox problem

lesan_sk

New Member
The gallery works like a charm on my desktop. After upload it works for the first group of 5 pics only.
I would appreciate some help before losing my hair entirely.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/casamea2.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Proprietatea Mylena</title>
<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>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body {
background-color: #E9E8E6;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<link href="casamea.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<!-- InstanceEndEditable -->
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadImages('images/casamea_6_2.jpg','images/casamea_7_2.jpg','images/casamea_8_2.jpg')">
<!-- ImageReady Slices (casamea_redone.psd) -->
<table id="Table_01" width="960" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="6">
<img id="casamea_1" src="images/casamea_1.jpg" width="960" height="16" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="casamea_2" src="images/casamea_2.jpg" width="40" height="114" alt="" /></td>
<td rowspan="2">
<img id="casamea_3" src="images/casamea_3.jpg" width="642" height="114" alt="" /></td>
<td colspan="3">
<img id="casamea_4" src="images/casamea_4.jpg" width="239" height="91" alt="" /></td>
<td rowspan="2">
<img id="casamea_5" src="images/casamea_5.jpg" width="39" height="114" alt="" /></td>
</tr>
<tr>
<td>
<a href="index.html"><img src="images/casamea_6.jpg" alt="" name="casamea_6" width="70" height="23" border="0" id="casamea_6" onmouseover="MM_swapImage('casamea_6','','images/casamea_6_2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
<td>
<a href="galerie.html"><img src="images/casamea_7.jpg" alt="" name="casamea_7" width="84" height="23" border="0" id="casamea_7" onmouseover="MM_swapImage('casamea_7','','images/casamea_7_2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
<td>
<a href="contact.html"><img src="images/casamea_8.jpg" alt="" name="casamea_8" width="85" height="23" border="0" id="casamea_8" onmouseover="MM_swapImage('casamea_8','','images/casamea_8_2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
</tr>
<tr>
<td colspan="6">
<img id="casamea_9" src="images/casamea_9.jpg" width="960" height="18" alt="" /></td>
</tr>
<tr>
<td>
<img id="casamea_10" src="images/casamea_10.jpg" width="40" height="478" alt="" /></td>
<td colspan="4" background="images/casamea_11.jpg"><!-- InstanceBeginEditable name="EditRegion1" -->
<p><a href="images/f-1.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-1.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-2.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-2.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-3.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-3.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-4.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-4.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-5.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-5.jpg" width="120" height="86" border="0" /></a></p>
<p><a href="images/f-6.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-6.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-7.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-7.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-8.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-8.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-9.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-9.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-10.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-10.jpg" width="120" height="86" border="0" /></a></p>
<p><a href="images/f-11.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-11.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-12.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-12.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-13.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-13.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-14.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-14.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-15.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-15.jpg" width="120" height="86" border="0" /></a></p>
<p><a href="images/f-16.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-16.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-17.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-17.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-18.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-18.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-19.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-19.jpg" width="120" height="86" border="0" /></a>
<a href="images/f-20.jpg" rel="lightbox[galerie]" title="test"><img src="thumbnails/f-20.jpg" width="120" height="86" border="0" /></a></p>
<!-- InstanceEndEditable --></td>
<td>
<img id="casamea_12" src="images/casamea_12.jpg" width="39" height="478" alt="" /></td>
</tr>
<tr>
<td colspan="6">
<img id="casamea_13" src="images/casamea_13.jpg" width="960" height="25" alt="" /></td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
<!-- InstanceEnd --></html>
 

lesan_sk

New Member
sorry! i just realized that i switched to lytebox as a last attempt to solve the problem... got so frustrated w the hole thing... :(
but unfortunately it didn't make any difference...
appreciate any help!
 
Top