Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:20

How can i get a reference to a new window? [solved]


Poster: Prefontim
Dated: Thursday April 3 2008 - 15:57:47 BST

With milonic, if i open a new window, I don't see a way to get a reference to the opened window. In standard javascript, I can get a reference like so:

var windowRef = window.open();

I'm sure Milonic uses this function, so it seems possible that they could return a reference, yet I can't find out how to do it. Does anyone know?

Re: How can i get a reference to a new window?


Poster: Prefontim
Dated: Thursday April 3 2008 - 16:32:59 BST

I was able to get it working, by specifying a clickfunction. inside the clickfunction, you can grab the window reference from the the '_ww' variable.

Re: How can i get a reference to a new window?


Poster: Ruth
Dated: Thursday April 3 2008 - 16:41:00 BST

Thanks for posting the solution. We appreciate it :)

Ruth