target _blank

I would like to do a fairly simple thing, and that is on clicking a link to open a new window of a restricted size. Using the target="_blank" gets me the new window and I have tried adding width="400" height="400" however this doesn't do it - can anyone tell me what to do?

Many thanks,
jon

Comments

  • : I would like to do a fairly simple thing, and that is on clicking a link to open a new window of a restricted size. Using the target="_blank" gets me the new window and I have tried adding width="400" height="400" however this doesn't do it - can anyone tell me what to do?
    :
    : Many thanks,
    : jon
    :

    Try something like this
    [code]



    function pop() {
    window.open('about:blank', '', 'toolbar=1, scrollbars=1, location=1, menubar=1, resizable=0, width = 400, height = 400');
    }



    Popup


    [/code]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion