Viewing Article

No StarNo StarNo StarNo StarNo Star | May 20 2009, 1:59 PM | Print
Add Google Directions to your contact page
You can easily allow users to get directions to your location using Google Maps. To do this, go to

Website Contact / Contact Page

At the bottom of that page you can edit the contact text. Ad some text such as

Get directions to us

Select the new text, make it underlined and then click the link button. It the link dialogue that opens, in the URL field, replace http:// with

javascript:void('google-directions.php?address=50 Your St YourSuburb YourState YourZipCode','google-directions','resizable=yes,location=no,menubar=no,scrollbars=no,status=no,toolbar=no, fullscreen=no,dependent=no,width=400,height=200,left=250,top=300'))

Change the part in red to your actual address and then click OK. Save the new contact text, launch your site, go to the contact page and click the new link. A small popup window should appear asking you to enter your post code. Enter a post code and click 'Go'. Google maps will then load and show the directions from the post code to the addressed entered into the link.