Active
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2008 at 21:46 UTC
Updated:
1 Jun 2012 at 14:23 UTC
hi,
I use gmap view to display nodes in a map. I would like to open marker link in a new window, not in the same window. Do you know how to do this ?
Comments
Comment #1
seschneck commentedI apologize if it's gauche to bump a year-old post, but I've been struggling for several days with the same issue, and having finally stumbled across the solution, wanted to share it. Edit /gmaps/js/marker.js and find
Just replace _self with _blank. Obvious, really, but I was searching futilely for php-constructed hrefs, rather than checking functions.
NB: I'm using Drupal 6, so no promises that this will work in lower versions.
Comment #2
izmeez commentedsubscribing. Thanks, this looks useful, will give it a try.
Comment #3
westbywest commentedI was able to accomplish this using the extlink module, although that causes all external links site-wide to open in a new window.
Comment #4
summit commentedHi, .js and ext link module didn't work both, sorry.
Anyone with another solution please?
greetings,
Martijn
Comment #5
marcoBauli commentedThere's a newer duplicate issue which proposes a solution: