tags:

views:

44

answers:

1

I have the following function to make a popup window.

function makewindows(html){
child1 = window.open ("about:blank");
child1.document.write(html);
child1.document.close(); 
}

It works fine, but it opens a new tab in firefox. I would like to know how to make it an actual popup, with a smaller size and such, separate from the actual window.

A: 
window.open("example.html", "windowName",
            "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");

See the MSDN window.open documentation or the Mozilla window.open documentation for more details.

RichieHindle