Forum Moderators: mack

Message Too Old, No Replies

From a 'normal' window to a 'bald' window

         

Korenwolf

9:34 pm on Sep 16, 2003 (gmt 0)



I know it's a kinda strange subject line, but i didn't know how to put it otherwise. lol

I think every one of you knows the following line;
body onload="MyWindow=window.open('main.htm','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600,left=0,top=0')"

I know this opens a 'bald' popup window, but what do i have to change to make the main page 'bald' without getting 'triggered' from another page?

In other (maybe simpler) words..
How do i remove the toolbar, scrollbars, etc.
Resize the window, and make it unresizable
And, if possible, i want the titlebar removed

Can this be done with 1 line of HTML or do i need Java?

RonPK

8:24 pm on Sep 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Korenwolf, welcome to WebmasterWorld.

Some of the things you're considering can indeed be done with JavaScript. Others are not possible. Keep in mind that many of your visitors will not appreciate your page taking control of their browsers.

davegerard

5:54 am on Sep 25, 2003 (gmt 0)

10+ Year Member



You could have an initial (blank) page automatically open a window object and load your main page. You then could close the parent, top or referring window, but like RonPK said, it will most likely piss off your viewers. Or should I say former viewers :-)

limbo

4:01 pm on Sep 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



{deleted}

skipfactor

4:10 pm on Sep 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are legitimate uses for this that don't perturb users. I use them for links from thumbs to full-size photos, nice & clean. Need javascript though, you're looking for chromeless windows.