Creating a link that opens a small window.

Hello,

I was wondering how to create a hyperlink that will open a specific web page in a smaller browser window.

Can I do this with html? Or is it actually javascript or something that does this kind of thing.

Thanks!

Juan

Comments

  • : Hello,
    :
    : I was wondering how to create a hyperlink that will open a specific web page in a smaller browser window.
    :
    : Can I do this with html? Or is it actually javascript or something that does this kind of thing.
    :
    : Thanks!
    :
    : Juan
    :

    Something like this:


    function poppal(){
    var demoWin = window.open('mypage.html', 'demo', 'resizable=no, scrollbars=yes, height=200, width=200, top=100, left=100')
    }


    Call it with:
    my link to my pop-up window

    just change the settings the way you want them,
    good luck

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