Results 1 to 2 of 2

Thread: two commands with one txt link from pop-up

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

    Default two commands with one txt link from pop-up

    **SIGH**

    Okay, I've been trying to figure this out for two days and so far I have 1/2 of it working properly. Here's the deal.

    I have a txt link, when you click that txt link on a pop-up window I want the parent.window to refresh to a different page and at the same time I want the pop-up window to close. I have it to where the parent window refreshes, but now the pop-up window stays up, but it doesn't display the contents, it refreshes itself to a blank white screen with the code I've been trying to use in it. This is my code:

    <a href="javascriptpener.top.location=('http://www.outindenver.org/beon.htm'); this.src='top.window.close()'">Be On the Show </a>

    It does the opener part, but I just can't get the stupid pop-up to close. If not close at least make it show the contents that was originally in it, not this other blank screen.

    Please help!!

    Thank you,

    Troubled Java

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

    Default Figured it Out

    I FINALLY FIGURED IT OUT!!!!

    I had to put a onclick command after it. OH THANK GOD! FINALLY!

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
  •