Window Open?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jbmacer
Beginner
Beginner
Posts: 1
Joined: Sat Jan 14, 2006 10:24 pm

Window Open?

Post by jbmacer »

Does MDHTML have a feature built into to open restricted new windows like the typical window.open like :

window.open("myPopup.html", "_blank", "location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no, height=100, width=100");

Thanks...
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You can call a function in the aI string. You can either call it as onfunction=yourfunction;offfunction=yourfunction; Let's say you had a function for swapping text in a string [there is one in the demos] then in any text= where you wanted to use the function, you'd call it like the above.

You can also call a function using the url: url=javascript:

Take a look at menusample15 which gives the ways to do this.

http://milonic.com/menusample15.php

Ruth
Post Reply