Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Thanked 0 Times in 0 Posts

    Multiple Pop ups

    Ok have many different links on my page that I want to pop-up when u click on them, but I dont know how to do that because all of them just have the 1 thing Url at the top, can anyone help me, and if possible not having to put anything in the head just in the link like <a href="" onlick"open.windo" or something, Thanks
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Carmel California
    Thanked 1 Time in 1 Post
    well if just want the page to open in a new window you just put target="_blank", the size and positiong of the window wont be of your control, and the window will be in the state of the default appearance of the browser. so <a href="url" target="_blank"></a>

    if you want the window in a specific, size, place, or with specific properties, you would have to open the new window via javascript, using window.open("url", "id name", "properties")
    an example:

    <a href="javascript: void(window.open('http://google.com/', 'google', 'width=200, height=100, left=50, top=100, toolbar, location, directories, status, scrollbars, menubar, resizable'));">google</a>

    you could play with the properties to change those numbers, and to remove some of the single true false type properties like status, scrollbars, location, toolbar, menuebar, resizable

    note...!! remove the space in java script, to make javascript
    Last edited by kwhubby; 10-07-2003 at 03:25 AM.
    Kris Hubby
    kwhubby site


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts