$(document).ready(function(){ $(‘#content a[href^="http:"], #content a[href^="https:"]‘).click( function() { window.open( $(this).attr(‘href’) ); return false; }); });
Monthly Archives: September 2010
Link directly to Google Maps driving directions
use this URL: http://maps.google.com/maps?daddr= Add the destination address as the value of the “daddr” variable with + in place of all spaces. You can also add an “saddr” variable for a start address (say someone entered their address in a form on your site).