1) Script Title: Lightbox 2.02
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tbox/index.htm
3) Describe problem:
I am new to javascript and building websites. I am using a template from Allwebco, and trying to modify it to open images using Lightbox. It uses several pieces of javascript, but I don't know how to determine what is conflicting, if anything.
The images open in a new window, but not using lightbox.
I am building my website in Frontpage, and have not uploaded it yet so I have pasted the code from my test lightbox page.
I would appreciate any suggestions.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html><head>
<!-- CHANGE THE NEXT THREE LINES -->
<title>Forget-Me-Not Business Greetings</title>
<meta name="Description" content="Forget-Me-Not Business Greetings - Building Your Repeat and Referral Business">
<meta name="KeyWords" content="greeting cards, service, client loyalty, marketing, referrals">
<!-- CHANGE THE ABOVE THREE LINES -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META name="Copyright" content="Copyright 2003 AllWebCo Design http://allwebcodesign.com/">
<META name="Publisher" content="AllWebCo Webpage Design http://allwebcodesign.com/">
<META name="Author" content="AllWebCo Design http://allwebcodesign.com/">
<META http-equiv="Content-Language" content="en">
<META name="revisit-after" content="15 days">
<META name="robots" content="index, follow">
<META name="Rating" content="General">
<META name="Robots" content="All">
<link rel=StyleSheet href="Javascript/corporatestyle.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script language="JavaScript" src="Javascript/javascripts.js"></script>
<script language="JavaScript" src="Javascript/pop-closeup.js"></script>
<script language="JavaScript" src="Javascript/mouseover.js"></script>
<style>
<!--
h1
{margin-bottom:.0001pt;
text-align:center;
page-break-after:avoid;
font-size:20.0pt;
font-family:Graduate;
font-weight:normal; margin-left:0in; margin-right:0in; margin-top:0in}
-->
</style>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
</head>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#339966" VLINK="#663399" ALINK="#666666" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">
<!-- PAGE TABLE-->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" HEIGHT="100%"><tr><td ALIGN="LEFT" VALIGN="TOP">
<script language="JavaScript" src="Javascript/header.js"></script>
<img src="picts/stretchbar.jpg" width="100%" height="28"><br>
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="720">
<IMG SRC="picts/gallery2.jpg" border="0" width="720" height="80"><BR>
</td><td bgcolor="#000000" width="1">
<IMG SRC="picts/spacer.gif" HEIGHT="10" WIDTH="1" border="0" alt="image"><BR>
</td><td background="picts/top-picture-end.gif">
<br>
</td></tr><tr><td background="picts/bluebar.gif" colspan="3">
<IMG SRC="picts/spacer.gif" HEIGHT="26" WIDTH="15" border="0" alt="image"><BR>
</td></tr></table>
<script language="JavaScript" src="Javascript/menu.js"></script>
<img src="picts/fadein.jpg" width="225" height="30"><br>
<!-- OUTER TABLE-->
<TABLE cellpadding="0" cellspacing="0" border="0" width="730"><tr><td ALIGN="CENTER" VALIGN="TOP">
<!-- SPLIT TABLE-->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="picts/background-main.jpg"><tr><td ALIGN=LEFT VALIGN=TOP WIDTH="30">
<IMG SRC="picts/spacer.gif" HEIGHT=10 WIDTH=30 border="0" alt="image"><BR>
</td><td ALIGN=LEFT VALIGN=TOP WIDTH="180">
<IMG SRC="picts/spacer.gif" HEIGHT="275" WIDTH="180" border="0"><BR>
</td><td ALIGN="CENTER" VALIGN="TOP">
<!-- CONTENT TABLE -->
<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td ALIGN=LEFT VALIGN=TOP>
<p class="just">
<!-- COPY AND PASTE CODE BELOW TO ADD A PARAGRAPH -->
<span class="title"><font size="6">4<span style="font-weight: 400">th of July</span></font><BR>
</span>
<!-- COPY AND PASTE CODE ABOVE BELOW HERE TO ADD A PARAGRAPH -->
</p>
<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>
<IMG SRC="picts/small-windows.gif" width="25" height="25">
</td><td>
<span class="smalltitle">Click picture for close up view</span><br>
<span class="smalltitle">and standard verbiage.</span></td></tr></table>
<p> </p>
<!-- CLOSE UP TABLE-->
<!-- PICTURE TABLE -->
<TABLE cellpadding="0" cellspacing=5 width="100%"><tr><td width="180" valign="top" align="center">
<a href="picts/American%20Flyer.jpg" rel="lightbox">
<img border="2" src="picts/American%20Flyer_small.jpg" xthumbnail-orig-image="American Flyer.jpg" width="138" height="100"></a></td><td>
</td><td width="180" valign="top" align="center" bordercolorlight="#008080" bordercolordark="#008080">
<a href="picts/Glory%20and%20Liberty.jpg" rel="lightbox">
<img border="2" src="picts/Glory%20and%20Liberty_small.jpg" xthumbnail-orig-image="Glory and Liberty.jpg"></a></td><td>
</td><td width="180" valign="top" align="center">
<a href="picts/Celebrate%20America.jpg" rel="lightbox">
<img border="2" src="picts/Celebrate%20America_small.jpg" xthumbnail-orig-image="Celebrate America.jpg" width="140" height="100"></a></td></tr><tr><td width="180" valign="top" align="center">
<a href="picts/It's%20A%20Beautiful%20Thing.jpg" rel="lightbox">
<img border="2" src="picts/It's%20A%20Beautiful%20Thing_small.jpg" xthumbnail-orig-image="It's A Beautiful Thing.jpg" width="100" height="133"></a></td><td>
</td><td width="180" align="center">
<a href="picts/Celebrate%20Freedom.jpg" rel="lightbox">
<img border="2" src="picts/Celebrate%20Freedom_small.jpg" xthumbnail-orig-image="Celebrate Freedom.jpg" width="140" height="100"></a></td><td>
</td><td width="180" valign="top" align="center">
<a href="picts/Yankee%20Doodle%20Dandy.jpg"rel="lightbox">
<img border="2" src="picts/Yankee%20Doodle%20Dandy_small.jpg" xthumbnail-orig-image="Yankee Doodle Dandy.jpg" width="100" height="143"></a></td></tr><tr><td width="180" valign="top" align="center">
<a href="picts/Home%20of%20the%20Brave.jpg" rel="lightbox">
<img border="2" src="picts/Home%20of%20the%20Brave_small.jpg" xthumbnail-orig-image="Home of the Brave.jpg" width="100" height="140"></a></td><td>
</td><td width="180" align="center">
<a href="picts/Home%20Sweet%20Home.jpg" rel="lightbox">
<img border="2" src="picts/Home%20Sweet%20Home_small.jpg" xthumbnail-orig-image="Home Sweet Home.jpg"></a></td><td>
</td><td width="180" valign="top" align="center">
<a href="picts/Lady%20Liberty.jpg" rel+"lightbox">
<img border="2" src="picts/Lady%20Liberty_small.jpg" xthumbnail-orig-image="Lady Liberty.jpg" width="100" height="140"></a></td></tr></table>
<!-- PICTURE TABLE -->
<BR><BR>
<!-- NEXT TABLE -->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>
<a href="Holidays.htm">
<IMG NAME="back" BORDER="0" ALT="back" SRC="picts/backoff.gif" width="120" height="55"></a><br>
</td><td align="right">
<a href="New%20cards.html">
<IMG NAME="next" BORDER="0" ALT="next" SRC="picts/nextoff.gif" width="120" height="55"></a><br>
</td></tr></table>
<!-- NEXT TABLE -->
<BR>
<script language="JavaScript" src="Javascript/ticker.js"></script>
<BR>
</td></tr></table>
<!-- CONTENT TABLE -->
</td></tr></table>
<!-- SPLIT TABLE -->
</td></tr></table>
<!-- OUTER TABLE-->
<img src="picts/fadeout.jpg" alt="image" width="225" height="30"><br>
<!-- PAGE TABLE-->
</TD></TR><TR><TD VALIGN="BOTTOM">
<img src="picts/stretchbar.jpg" width="100%" height="28" alt="image"><br>
<!-- COPYRIGHT -->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="picts/bottom-shade.gif"><tr><td WIDTH="10">
<IMG SRC="picts/spacer.gif" HEIGHT="30" WIDTH="10" border="0" alt="image"><BR>
</td><td ALIGN="left" valign="middle">
<script language="JavaScript" src="Javascript/copyright.js"></script>
</td><td ALIGN="right" valign="middle">
<script language="JavaScript" src="Javascript/copyright-allwebco.js"></script>
</TD><td WIDTH="10">
<IMG SRC="picts/spacer.gif" HEIGHT="10" WIDTH="10" border="0" alt="image"><BR>
</td></tr></table>
<!-- COPYRIGHT -->
</td></tr></table>
<!-- END PAGE TABLE-->
</BODY>
</HTML>



Reply With Quote








Bookmarks