How to create a marker as a link to url in Google map,

Being the definition of newbie in Google maps, and javascript also, I'm trying to get a marker as a link to a url, a script was found at stackoverflow.com (http://stackoverflow.com/questions/5107410/google-maps-marker-as-a-link). It works ok except it doesn't create links.
Please, Gurus and Experts, could you take a look at the script and see what I have done wrong.
test-4.html
Lennart EricsonAmateurAsked:
Who is Participating?
 
dnzone88Commented:
change your JavaScript from
window.location.href = this[i].url;

Open in new window

to
window.location.href = this.url;

Open in new window

test-4.html
0
 
Lennart EricsonAmateurAuthor Commented:
Marvellous! Thanks!
// lericson
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.