Any thoughts on how to do this? I'd like a certain block's links to always popup on top of the page in a lightbox. I know I can add [rel="lightbox"] to a given link to provide this behavior, but I'd like to save my users this trouble / myself this training :)

Using Lightbox2 for Drupal 6.x

Thanks!

Comments

mm167’s picture

check under the Lightbox2 admin page, the auto tab.

see if this is what u are looking for?

good day
---------------------------------------------------------
toll free is good, but pay toll may go faster ...
we go the drupalway. how about u?
www.drupalway.com - pay toll to go faster

obrienmd’s picture

That's just for images. I'd like every _link_ in a given block / classed div to open in an HTML lightbox.

Of course, if it's there and I'm just missing it I'd love to hear this :)

mm167’s picture

if u want not just for image, then what u need is

http://particletree.com/features/lightbox-gone-wild/

good day
---------------------------------------------------------
toll free is good, but pay toll may go faster ...
we go the drupalway. how about u?
www.drupalway.com - pay toll to go faster

obrienmd’s picture

Anything more specific? I'm not much of a dev, so reading that didn't really clear anything up for me. I really appreciate the help thus far, hoping I can get this done!

Anonymous’s picture

this is the module you want
http://drupal.org/project/greybox

obrienmd’s picture

I've installed greybox, but am still unable to figure out how to make a _specific_ block or links within a _specific_ class of div open as greybox/lightbox/thickbox "windows".

pacome’s picture

I could do it with "cck link" module, because there you can define the rel attribute... but it's not that handy : you have to write the links one by one...

I'm also looking for something more automatic (from a table View, to open the node on a lightbox popup...)

Best
-P-

jamesdixon’s picture

Looking around for a way to do this, I realized for it to work with lightbox, you need to have the div on a separate page.

Thickbox does have a way to get this working: http://drupal.org/project/thickbox

Have a look at the example here and you should be well on your way:

http://drupal.org/node/367951