eps81
25 Aug 2009, 04:26 PM
I built a quick slice site to display my portfolio. I'm using Lightbox to display my work, yet when the Lightbox links are added to my code, a black line shows up on my page. All other browsers are displaying the page correctly. Does anyone have any suggestions/solutions on how to fix this?
Here's the abbreviated code:
<html><head>
<title>Pendleton Shiflett - Graphic & Web Designer</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
<script type="text/javascropt"></script>
<script type="text/javascript" src="lightbox2/prototype.js"></script>
<script type="text/javascript" src="lightbox2/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox2/lightbox.js"></script>
</script>
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
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[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="untitled.css" rel="stylesheet" type="text/css">
<link href="../RC Site/lightbox.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
//-->
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
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[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/client_button_hov.gif','images/port_button_hov.gif','images/services_button_hov.gif','images/art_button_hov.gif','images/contact_button_hov.gif')">
<!-- ImageReady Slices (index.psd) -->
<table width="600" height="601" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td><a href="images/bridgerun.jpg" rel="lightbox[port]" title="Bridge Run 2010 Poster" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','images/port_button_hov.gif',1)"><img src="images/port_button.gif" name="Image30" width="74" height="15" border="0"/></a>
<a href="images/mag_cover.jpg" rel="lightbox[port]" title="GW Acoustic Cover Re-design"></a>
<a href="images/mag_spread.jpg" rel="lightbox[port]" title="GW Acoustic Spread"></a>
<a href="images/rock_the_block.jpg" rel="lightbox[port]" title="Rock the Block 2009 Poster"></a>
<a href="images/orphan_ad1.jpg" rel="lightbox[port]" title="Lowcountry Orphan Relief Campaign"></a>
<a href="images/orphanad2.jpg" rel="lightbox[port]" title="Lowcountry Orphan Relief Campaign"></a>
<a href="images/book_cover.jpg" rel="lightbox[port]" title="Book Cover Re-design"></a>
<a href="images/guitar_ad.jpg" rel="lightbox[port]" title="Les Paul Ad"></a></td>
</tr>
Here's the abbreviated code:
<html><head>
<title>Pendleton Shiflett - Graphic & Web Designer</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
<script type="text/javascropt"></script>
<script type="text/javascript" src="lightbox2/prototype.js"></script>
<script type="text/javascript" src="lightbox2/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox2/lightbox.js"></script>
</script>
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
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[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="untitled.css" rel="stylesheet" type="text/css">
<link href="../RC Site/lightbox.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
//-->
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
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[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/client_button_hov.gif','images/port_button_hov.gif','images/services_button_hov.gif','images/art_button_hov.gif','images/contact_button_hov.gif')">
<!-- ImageReady Slices (index.psd) -->
<table width="600" height="601" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td><a href="images/bridgerun.jpg" rel="lightbox[port]" title="Bridge Run 2010 Poster" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','images/port_button_hov.gif',1)"><img src="images/port_button.gif" name="Image30" width="74" height="15" border="0"/></a>
<a href="images/mag_cover.jpg" rel="lightbox[port]" title="GW Acoustic Cover Re-design"></a>
<a href="images/mag_spread.jpg" rel="lightbox[port]" title="GW Acoustic Spread"></a>
<a href="images/rock_the_block.jpg" rel="lightbox[port]" title="Rock the Block 2009 Poster"></a>
<a href="images/orphan_ad1.jpg" rel="lightbox[port]" title="Lowcountry Orphan Relief Campaign"></a>
<a href="images/orphanad2.jpg" rel="lightbox[port]" title="Lowcountry Orphan Relief Campaign"></a>
<a href="images/book_cover.jpg" rel="lightbox[port]" title="Book Cover Re-design"></a>
<a href="images/guitar_ad.jpg" rel="lightbox[port]" title="Les Paul Ad"></a></td>
</tr>