Sunday, 11 August 2013

Lightbox 2 Not Displaying

Lightbox 2 Not Displaying

I am trying to get lightbox to work on a gallery website but it just
doesn't fire and opens the image in a new tab directly. Here's the code:
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"
type="text/javascript"></script>
<script type="text/javascript" src="code/prototype.js"></script>
<script type="text/javascript"
src="code/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="code/effects.js"></script>
<link rel="stylesheet" type="text/css" href="code/styles.css" />
<link rel="stylesheet" href="code/lightbox.css" type="text/css"/>
<div class="thumb shadow">
<div class="thumb-wrapper">
<a href="albums/Hong Kong/page22-1001-full.jpg" rel="lightbox"
title="&lt;a href=&quot;albums/Hong
Kong/page22-1001-full.jpg&quot;&gt;Download Photo&lt;/a&gt;">
<img src="albums/Hong Kong/thumbs/page22-1001-full.jpg" width="150" alt=""
/></a>
</div></div>

No comments:

Post a Comment