SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Quake 1 Addict CreedFeed's Avatar
    Join Date
    Feb 2002
    Location
    Milwaukee, WI
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Link Target - Open Link From Popup To Main Page

    On my page there's a link to open up a popup window with some information. On this informational popup, I'd like to have a link which opens up content on the main page of my site. Is this possible, if so, how?

    Also, if it is possible, can the popup window be set to close if/when the user clicks on the link?
    Last edited by CreedFeed; May 20, 2002 at 09:08.
    -- Steve Caponetto
    Quake 1 Resurrection :: CreedFeed

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2001
    Location
    UK
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could do with JavaScript if you use something like this in the popup:

    PHP Code:
    <a href="javascript:parent.document.location='PAGE'; self.close()">Link</a
    Not certain, but that might work, changing PAGE to the URL of the page (bit rusty on JS).
    Last edited by oblig; May 20, 2002 at 09:20.


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
  •