<body onLoad </-- Set these parameters... (See Below) --/>
Posted on 2004-04-27
Essentially I'm looking to do something similar to this...
var height = 400 //Set height
var width = 400 //Set width
var name = "winname" //Set window name
var top = 20 //Set distance from top
var left = 20 //Set distance from bottom
newwin=window.open(document.location + "?newwin=true", name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);
but instead of initially loading a page, just to have it reloaded without a toolbar, or menubar, or no status bar and etc. I want the page to load with all of these attributes from the get go.
As it stands, I put what I want in the page, IE will immediately ask if I want to close the page, since it's requested by the page. If I say 'no' then nothing happens, and if I say 'yes' then it will close the initial page, either way there is another page that loads.
I'm trying to avoid loading two pages, and I'm also trying to avoid IE even asking me if I want to allow the transaction to happen.
My whole idea is to make a tech cd that has a bunch of tech tools, and I plan on making the front-end web based, but I don't want anyone to manipulate the front page by having the ability to use the menubar or the toolbar or anything. I plan on making it a fixed size and what they see is what they get.
Can anyone help?