Javascript to close a frame

Discussion in 'Web Design & Coding' started by Tabula Rasa, Jan 23, 2003.

  1. Tabula Rasa

    Tabula Rasa Stranger Than Kindness Political User

    Messages:
    3,233
    Location:
    Israel
    I need a JavaScript that will colse the top frame in a frameset (only 2 frames top and main), anyone knows of one?
     
  2. sailgreg

    sailgreg Guest

  3. Tabula Rasa

    Tabula Rasa Stranger Than Kindness Political User

    Messages:
    3,233
    Location:
    Israel
    Thanks but this one is way to complicated for me, i need something really basic that will just make the frame disappear from a link (i have a php script that opens all links from my site with a top frame that is kinda an add , and i need to kill it on a link click)
     
  4. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    A simple <A HREF="whatever.php" TARGET="_top">Link</A> would work in this case I think.
     
  5. Tabula Rasa

    Tabula Rasa Stranger Than Kindness Political User

    Messages:
    3,233
    Location:
    Israel
    Not really, well, i decided not to use the link tracker in that way anyway, thanks for the help tho :)