# Html question

**URL:** <https://forum.kirupa.com/t/html-question/56374>\
**Category:** Uncategorized\
**Created:** [July 3, 2004, 5:28am UTC](https://forum.kirupa.com/t/html-question/56374 "2004-07-03T05:28:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Weazol](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@Weazol](https://forum.kirupa.com/u/Weazol)\
**Post date:** [July 3, 2004, 5:28am UTC](https://forum.kirupa.com/t/html-question/56374/1 "2004-07-03T05:28:09Z")

</div>

i didnt know where to post this so move it if need be…

What is the html code that i put on a page so whenever it loads it automatically resizes and removes the scroll bars, the status bar, and all the toolbars

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2004, 5:35am UTC](https://forum.kirupa.com/t/html-question/56374/2 "2004-07-03T05:35:42Z")

</div>

hmm. make a pop up and have it just empty with no toolbars. and make it the same size as a browser. just 800 by 600:P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2004, 5:39am UTC](https://forum.kirupa.com/t/html-question/56374/3 "2004-07-03T05:39:03Z")

</div>

thats what im asking how do i do that…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 4, 2004, 2:00pm UTC](https://forum.kirupa.com/t/html-question/56374/4 "2004-07-04T14:00:47Z")

</div>

put sth like the following in yr \<head\>…

\<script language=“javascript”\>  
//\<!–  
function WinOpen1(filename) {  
window.open(filename,‘preview’,‘toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=no,width=800,height=600’);  
};  
//–\>  
\</script\>

…and launch it with: \<a href=“javascript:WinOpen1(‘yourpopuppage.html’);”

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 4, 2004, 2:04pm UTC](https://forum.kirupa.com/t/html-question/56374/5 "2004-07-04T14:04:14Z")

</div>

sth like this in the head:

function WinOpen1(filename) {  
window.open(filename,‘preview’,‘toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=no,width=800,height=600’);  
};

launched by a href=“javascript:WinOpen1(‘popup2.htm’);” in the link…
