Closing the top menu of an iFrame

Discussion in 'JavaScript' started by neil patrick harris, Nov 1, 2009.

  1. #1
    Hi there, I'm trying to get this top menu in my iframe to close using an image button but I cant seem to get any codes I found on DP working. Does anyone know a quick fix for this? Would ajax do a better job or should I use javascript? Would it load the same results or take you back to the hompage of the torrent site its viewing? :confused:

    Heres the menu. (up top ;) )

    http://www.plentyoftorrents.com/search.php?site=Mininova&q=cookbook

    Heres the iframe code:
    <iframe id="torrent_window" src="<?php echo $url; ?>" scrolling="auto" width="100%" height="1200" name="torrent_window" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe>
    Code (markup):
     
    neil patrick harris, Nov 1, 2009 IP