[map module] map module and lightbox
|Posted: Wed, 2008-05-28 15:48|
I need your help. I'm not developer (or noob if you want.
I use the map module (witch is a great module) and I want to customize (or hack if you want it.
So, actually when I clic on a marker, the bubble appear with a picture. Ok, great. Now if I click on the picture, I'm redirected to the album page. And if I want to see another picture in another place i must go back to the map, search again on the map (zoom etc...).
Is it possible to modify default.inc links to open album's pictures in lightbox and not be redirected to album page?
$map['infowindows']="'<div style=\"width:200px\"><a href=\"'+itemLink+'\">'+title+'<\/a><br/>'
Where can I add rel="lightbox[gallery]" into the link? Is it possible to load scripts in default.inc?
Like that, when I close the lightbox window, the map hasn't move... and I don't need to search again.
Thanks for your help.
edit: I have found that in this thread: http://gallery.menalto.com/node/54063 and it is exactly what I want to do:
An example that works (not in gallery): http://www.joshcastellano.com/maps/
I just don't understant where to load scripts (not in default.inc file I think) and how to add rel='lightbox' in <a ref > ("" or \"\" or ...?)