Wanted: Anew window that opens with no headers,buttons,etc

I know this is possible, but I don’t know how to do it.

There is a section of my web site that shows a step by step process. In the newer version, I want to open this up in a new window, with no standard buttons, address bar etc, as all the controls will be in the window itself.

How do I open a new window in this form please?

I’ve got the answer to this somewhere - no honest I have, I’ll prove you all wrong about me and post it soon.



check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnproasp/html/windowobjectmethods.asp

You’ll be wanting something like :

Window.Open "http://www.wrox.com/", "myWindowOne", "toolbar=no, menubar=no, location=no, directories=no"



Thanks Jonty

I’ve only dabbled in basic HTML and some Java so I’m not sure how this is handled within a window. Is that used between <script> tags or as part of an <a href= …>
tag set?

For opening a separate picture in a new window on my website I am currently using:

“<a href=”?" onclick=“MM_openBrWindow(‘rabid.html’,‘Rabid’,‘menubar=no,scrollbars=no,resizable=no,width=450,height=540’)”><img src=“rabidsmall.jpg” alt=“Rabid” border=“0” width=“100” height=“130”></a>" which is old school code.

Does this work in the same way?

The site is Norton Ceramics if you need to look at the current source code.

ok - i assume that you’ve defined the function MM_openBrWindow somewhere.

The code works exactly the same way


have a go with this, have used in the past prob a year ago
now was hoping it was still on my site but it seems not :frowning:

linky…> http://www.codelifter.com/main/javascript/amazingframelesspopup1.html

Thanks guys. I’ll play about with the parameters to see if it works.

Well I tried your ideas, but nothing worked just like I required it, so after a bit of googling & some trial and error, I got the following to do the job perfectly:

<a href=“javascript:void(window.open(‘xxx.htm’,‘xxx’, ‘width=650,height=530, location=no, menubar=no, status=no,toolbar=no, scrollbars=no, resizable=no’))”>

It gives you all the options you need to define & resize a window and the best bit of all, it doesn’t make the source page revert to the top of the page, which was the bit that was bugging me. The window that appears can have it’s own close button using <a href=“javascript:parent.close()”> and either text or a button of your choice.

The result works lovely. Go to

Norton Ceramics and click on the Resin Model link to see the result. This is still the old site, which I am updating and should be up and running in its new form soon.

What would be a proper definition syntax?

Hi Focus
In the body tag, you will need to insert the following script for it to work

<script type=“text/javascript”>
function MM_openBrWindow(theURL,winName,features) { //v2.0

and the A tag would then look like this:

<a href="?"

As I said the only issue I have with this is that after the window has opened, the page the link came from goes back to the top, so if you click on a link in a long page, you have to scroll down to where you were each time and this was really bugging me, hence the update to the different version.

To see the result of the new version, click on
Norton Ceramics and then click on the “Process” link on the side bar or top menu bar. You will see it opens a window which is sized exactly how I want it and has all the links built into it, so that when you click on a link it brings up the new page in the same window.


Thanks. I have since read up on the syntax. IE figures it out without the definition if it has seen it before. Firefox does not. Freaked me out for awhile…

The newer version works OK in Firefox, which is another reason why I changed over to it. I wanted the site to be user friendly in a variety of browsers and this was an issue which I had to resolve for Firefox and Opera as well. It is simpler and does not require the extra script line to be present in every page it’s need in, thus saving coding time (once I’d figured it out :smiley: )
Glad you’ve got it sorted though.