Friday, March 16, 2012

Open browser as dialog box?

Can a default page be opened like a dialog box? That is, for our own intranet, I want the user's home page ( and subsequent ones) to display as a regular form, w/o the toolbars, address bars, etc.
Thanks.You cannot do this on the current window.

It's possible in Gekko browsers, but not in IE. (strange security eh)

It should be possible to have the default page run a javascript onload, that opens a new window to a diffrent page using window.open, and then closes itself.

<form onLoad="window.open('startpage.aspx',"toolbar=false"); self.close;">
Thanks. Boss doesn't want to use javascript, don't really know why. He doesn't want the users for this to have Internet access. Guess I'll just use a regular form.
Yea, don't know why he wouldn't allow javascript either, since 95% of all websites require it for proper operation (it does have a ECMA standard thats been in effect for over 6 years).

Having javascript enabled doesn't mean a person instantly gets 'internet access'. That would be akin to saying having a Dell machine means you instantly get internet access.

0 comments:

Post a Comment