Opening a bare page

liunx

Guest
How can I have it so that when I open a page, it doesn't have a toolbar, addressbar, linksbar, statusbar, scroolbar, menu bar, or anything like that. I just want a plain window with nothing else on it. Is there a way to code your page so it will do this? (I can't load this page from another one, it has to be the first page you open.)<br />
<br />
Thanks for all your help.<!--content-->as luck would have it - someone else has aksed this question today:<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=17261">http://www.htmlforums.com/showthread.ph ... adid=17261</a><!-- m --> <br />
<br />
<br />
<br />
Welcome to the forums, btw :wave:<!--content-->Thanks for the link, but I'm not sure it answers my original question. I don't want to open a second bare window, I need the original window to open bare.<br />
<br />
Thanks<!--content-->I beleive the only way to open a bare window would to use a link. I havent seen it done any other way at all.<!--content-->I've never seen a page that opens in a full window without going through a link. I'm sure there are scripts out there that does this, but I wouldn't even dream of looking it up. A lot of people get nervous without their browser buttons! Some panic and reboot their computers because they have no idea how to close the window or go somewhere else.<br />
<br />
However, as long as you provide your viewers with a 'close window' link AND a link to a normal version of the page, you can use the following script (it's a whole html page). It opens a new window that covers all the screen (in NS I believe you get a narrow frame around the page and a close button in upper right corner):<br />
<br />
<br />
<html><br />
<head></head><br />
<body><br />
<br />
<script><br />
<!-- Begin<br />
function fullwin(targeturl){<br />
window.open(targeturl,"","fullscreen,scrollbars")<br />
}<br />
// End --><br />
</script><br />
<br />
<noscript><a href=http://www.htmlforums.com/archive/index.php/"your_page.html">Enter</a></noscript><br />
<br />
<!-- OPEN FULL WINDOW WITH BUTTON LINK --><br />
<form><input type="button" onClick="fullwin('your_page.html')" value="Enter"></form><br />
<br />
<!-- OPEN FULL WINDOW WITH TEXT LINK --><br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onclick="fullwin('your_page.html');">Enter</a><br />
<br />
<!-- OPEN FULL WINDOW WITH IMAGE LINK --><br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onclick="fullwin('your_page.html');"><img src=http://www.htmlforums.com/archive/index.php/"your_image.gif"></a><br />
<br />
</body><br />
</html><br />
<br />
<br />
Here's the script that allows visitors to close the window:<br />
<br />
<br />
<!-- CLOSE WINDOW WITH BUTTON LINK --><br />
<form><input type=button value="Close Window" onClick="javascript:window.close();"></form><br />
<br />
<!-- CLOSE WINDOW WITH TEXT LINK --><br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:window.close();">Close Window</a><br />
<br />
<!-- CLOSE WINDOW WITH IMAGE LINK --><br />
<a href="javascript:window.close();"><img src=http://www.htmlforums.com/archive/index.php/"your_image.gif"></a><br />
<br />
<br />
You can also write on your full window page that it can be closed by pressing Alt+F4 on the keyboard.<br />
<br />
The link on the full window page that opens it in normal mode is an ordinary link to the same page with a "target="_blank" added.<!--content-->
 
Back
Top