Lightbox

7wonders - June 15, 2009 - 19:17
Project:Exhibit
Version:6.x-1.0-beta1
Component:JavaScript
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:exhibit, lightbox
Description

Hi,

I cannot figure out for the life of me how to get lightbox to work inside of a drupal based exhibit. I have done the same using a plain html page with:

<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>

and

<a ex:href-content=".example_1" rel="lightbox"><img ex:src-content=".example" /></a>

which works like a charm. Can anyone shed some light on how I can apply this to a drupal exhibit?

Thanks
7

#1

__rajeev - June 26, 2009 - 13:03

7wonders:

Try thickbox instead - it works. I have used the Exhibit lens and have used thickbox within lens to get the thickbox popup from exhibit data.

- Rajeev

#2

hobgobbler - June 28, 2009 - 13:29

You've done it in Drupal? I spent all day yesterday trying to get title links to open with thickbox, greybox and lightbox in Exhibit/Drupal and it just didn't want to work.

 
 

Drupal is a registered trademark of Dries Buytaert.