Click to See Complete Forum and Search --> : Opening a New Window


cptdude
01-13-2003, 02:37 PM
Hi I'm Frank and I have just set-up this cascade menu in one of my web pages www.floorimages.com/NEW.htm and everything is working just great. The only problem I have is, that when any of the links are indexed it does not open a new window. I would prefer a new window to open opposed to just leaving my site all together. Yes I'm new at scripts. But I have tried using target="_blank" in the script and it's not helping, can anyone help me. Frank

khalidali63
01-13-2003, 02:59 PM
in the CascadeMenu.js file,which is a JavaScript file imported in the HTML page, look for a function Do(obj).
then replace the whole function with the code below
cheers
Khalid


function Do(obj){
var cmd = eval(obj).cmd
window.open(cmd,"newWin");
}

cptdude
01-13-2003, 03:07 PM
Thank you for your reply Frank

Dan Drillich
01-14-2003, 09:07 AM
Please have a look at -
http://hotwired.lycos.com/webmonkey/98/03/index3a_page2.html?tw=programming

Cheers,
Dan