Hello,
i am trying to get lightbox 2 to work with dreamweaver and possibly show a video in the box bu ti can't even get it to work with a picture. Here is the page code.
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Cat's Life Example</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>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<style type="text/css">
<!--
body {
background-image: url(background.jpg);
}
.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
</style></head>
<body>
<table width="887" height="756" border="0" align="center" cellpadding="3" bgcolor="#999999">
<tr>
<td valign="top"><div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="343" height="161">
<param name="movie" value="flash/cat.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#999999" />
<embed src="flash/cat.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="343" height="161" bgcolor="#999999"></embed>
</object>
</div>
<p align="center" class="style1">Cat's Life is certainly a CRAZY one.</p>
<p align="center" class="style1">Check out the Cat's Life Example</p>
<p align="center" class="style1"><img src="images/play-cats-life.png" rel="lightbox" alt="play" width="456" height="396" /><link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
</p></td>
</tr>
</table>
</body>
</html>
and an example of the page is available at
http://rdproducktions.com/cat
Thanks,
ben