(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Can the link items NOT open a new window in the script drop down menus?

Return to Recent Questions


Q: I want to use this script drop down menus with ASP. For ASP the current window needs to be used with whatever value is in the link parameter.
Can the link items NOT open a new window?


A: script drop down menus uses window.open or href-method depending on the target parameter.
If you set "" or "_self" target the script drop down menus uses href-method and if you set "_blank" or frame name the script drop down menus uses window.open and opens your link in a new window.

You should use the following parameter
var titemTarget = "_self";
or
var titemTarget = "";

See also individual items targets, for example:
{|The Team, http://www.domain.co.uk/receptionist.htm, _blank,}
Change "_blank" to "" or to "_self".





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. free bootstrap templates | static website generator | best web design software | top web builder | free bootstrap templates