SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2005
    Location
    alaska
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face How to onclick pop-up and still redirect to parent?

    Hi I tried search a couple times to no avail so heres what I need.

    When A users clicks a link that connects to page1.htm I would like to have a pop-up spawn from that link(onclick) however still redirect to page1.htm. The result being the user is now on page1.htm and still viewing the pop-up that spawned from the link.

    Is this possible? If so please provide examples and if its possible to so this without using javascript that would be great. If not javascript is fine.

    Thanks!

  2. #2
    Winemaster bronze trophy BonRouge's Avatar
    Join Date
    Oct 2004
    Location
    Sendai, Japan
    Posts
    2,417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <a onclick="window.open('http://bonrouge.com')" href="page1.htm">go</a>

  3. #3
    SitePoint Member
    Join Date
    Jan 2005
    Location
    alaska
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks much!


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
  •