Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question multiple popups via text

    I'm working on a page containing a price list of 17 items and would like to provide a "view item" text link that would open a individual popup window for each individual product. How can I accomplish this?

    Thanks!

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Code:
    <a href="link1.htm" target="_blank">link 1</a><br>
    <a href="link2.htm" target="_blank">link 2</a>
    I suspect you want to use the target attribute. You can either invent a name such as link1 or mypopupwindow or use some of the keyword names like _blank and _top.

    You can specify a target for a popup window as window.open('mylink.htm', 'mytarget')


  •  

    Posting Permissions

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