Results 1 to 2 of 2

Thread: Overlapping Content Link

  1. #1
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Overlapping Content Link

    Is it possible to open new window like it is done for links with POST method where target=? and onClick button=onClick for links

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    <form action="whatever.htm" method="post" target="_blank">
    <input type="text" name="art" value="Monalisa">
    <input type="submit" value="Go!">
    </form>
    Works with get also.

    Code:
    <a href="whatever.htm" onclick="window.open(this.href);return false;">Let's Go!</a>
    or:
    Code:
    <a href="#" onclick="window.open('whatever.htm');return false;">Let's Go!</a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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