Click to See Complete Forum and Search --> : help


numba_one
02-17-2003, 06:35 AM
hey does any one know how to make this line of script target a frame:?

menu.addItem("Search For A Tournament","window.open('URL HERE')");

thanks

khalidali63
02-17-2003, 07:01 AM
To the best of my knowledge there is not attribute for windows.open() method that will take a param for the target frame.

The work around?

Yes pass the url and then in a some function target that frame

like
parent.frames[x].document.location.href = url;

hope this helps


Cheers

Khalid