• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "What code do I need to close lower frame in frameset?"

Collapse

  • Guest's Avatar
    Guest replied
    Java script
    ---------------
    top.location.href="f1.html"

    HTML
    --------
    <A TARGET="TOP" HREF="f1.html">Place me on Top</A>

    Leave a comment:


  • Guest's Avatar
    Guest started a topic What code do I need to close lower frame in frameset?

    What code do I need to close lower frame in frameset?

    Hi,

    Hoping someone can help me. I have created a frameset that is split into 2 frames: top and bottom. The top frame (called frame1.html) contains links to my various works and clicking on one will open up one of my sites in the lower frame (called bottomframe.html) - don't ask me why I want to link to my other site in this way rather than opening up a new new browser window. I have my reasons.

    So clicking on the link in the top frame brings up my website in the lower frame - that works fine. The only problem is when the user clicks on another link in the top frame the bottomframe is still there. How do I have an option in there so that the user can choose to close the bottom frame (ie a "click here to close bottom window"? I have created the following form button:

    form method=POST
    input type="button" value="Close this below portolio preview" on Click="top.close (); " name="button"


    of course this will close the whole browser window. Have tried to replace "top.close" to "bottom.close" or "bottomframe.close" but this does not work.

    Can anyone help provide me with a solution?

    Thanks,

    Piers

Working...
X