There are times when you may want to open a customized window from your DHTMLMenu. Perhaps you want to specify the window size, whether or not it has scrollbars, whether it's resizeable, etc. This can easily be accomplished by using a window.open JavaScript in the Link field under Menu Item Settings - General. There is no need to add an item condition script under Prefix or Suffix. Here is an example (each menu item opens a window with different specifications):
Here is what we entered in the Link field for each of the three menu items::
Window 1:
javascript:window.open("demo_page.html","_blank","width=800,height=600,status=no,toolbar=no,scrollbars=no")
Window 2:
javascript:window.open("demo_page.html","_blank","width=600,height=400,status=no,toolbar=no,resizable=yes,scrollbars=yes")
Window 3:
javascript:window.open("demo_page.html","_blank","width=800,height=400,status=yes,toolbar=yes,resizable=yes,scrollbars=yes")
For another alternative, look at the "Lytebox" section on the "Advanced Techniques" page.