Hello Glenn,
Though gadgets are written in JavaScript and portions of the API
resemble DHTML,
the gadget is not a browser environment, so there is no "window"
object.
Here is an example of how to open a browser using "Shell.Application":
var winShell = new ActiveXObject("Shell.Application");
winShell.ShellExecute(" http://www.google.com");
I hope that helps.
Cheers!
James
glenn wrote:
I am trying to open a URL using Javascript, but for some reason I
cannot get open() or window.open() to work in a Google gadget.
On open() I get an error "Object Expected"
and on window.open I get "'window' is undefined"
Any ideas?
thanks in advance.