Google Map in Thickbox

iteego - March 22, 2009 - 17:58
Project:Thickbox
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Greetings,

I am interested in having a google map appear in a thickbox when a user clicks the Map This link on a node. Can anyone point me in the direction of a tutorial or offer any advice on this? Mant thanks! Cheers Kevin

#1

frjo - March 24, 2009 - 14:06

If you can put a "thickbox" class on the link Thickbox will automatically be activated for the link.

Do you have a example site we can have a look at?

#2

iteego - March 30, 2009 - 15:14

Hi,

Here is an example page http://www.techtagz.com/profile/company/simgraphics-engineering. It will be a company profile and currently if clicking the See Maps: Google Map link it opens at google maps website. I was wondering if this could open in thickbox n my site? Thanks! Kevin

#3

iteego - March 30, 2009 - 15:20

here is an example where i see this done http://www.startuphire.com/search/details.php?job=50288

cheers
Kevin

#4

frjo - March 31, 2009 - 14:31

If you can get the link to look like this it will open in a Thickbox. You set the height and with of the box directly in the link.

<a href="http://maps.google.com/?q=34.118962+-118.113650+%281441+Huntington+Drive+%233470%2C+Pasadena%2C+CA%2C+91030%2C+us%29&keepThis=true&TB_iframe=true&height=600&width=800" title="add a caption to title attribute / or leave blank" class="thickbox">Google Maps</a>

You find a lot of examples on http://jquery.com/demo/thickbox/.

 
 

Drupal is a registered trademark of Dries Buytaert.