Opening a new browser window from stand-alone .js file?
Posted: Fri Apr 04, 2003 10:46 pm
I don't know if this is possible, but I'm building an Intranet app with php and I want to be able to have users click on a desktop icon that opens up IE with no toolbars or anything. From a web page I would just use code like this:
But when I put this code in a .js file and try to run in in windows I get a message that says 'window' is unspecified. I assume I need to 'import' some javascript library or perhaps create the window object first, but I'm not sure how to do this.
Thanks in advance for the help.
Code: Select all
window.open( "localhost/", "_blank", "scrollbars=yes,toolbar=false,location=false,menubar=false", "" );Thanks in advance for the help.