122 users online (0 members and 122 guests)  

  Results 1 to 2 of 2


  1. Frame Help    Forum: HTML Forum
    Replies: 7
  2. Frame help    Forum: HTML Forum
    Replies: 5
  3. frame help    Forum: HTML Forum
    Replies: 2
  4. frame help!    Forum: HTML Forum
    Replies: 1
  1. #1
    wrestlethemes's Avatar

    Question Frame Help, Form completes in a different frame, how?

    How can I have a my users click the selection on the scroll down menu and when the press go it opens up the new window in another frame?

  2. #2
    HTML's Avatar

    Join Date
    Aug 2000

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel


    There are 2 you need to copy and paste into your page
    This part goes inbetween the <head> and the</head> tags, although not immediately after <head>, this first line should be reserved for the <title>

    Also you would need to change URL to the name of the frame (I have not tested this in another frame, but it seems like it would work)If it does not work let me know.

    <SCRIPT LANGUAGE="JavaScript">

    <!-- Begin
    function formHandler(form){
    var URL = document.form.site.options[document.form.site.selectedIndex].value;
    window.location.href = URL;
    // End -->

    This part gets placed inside the body where ever you want it.

    <form name="form">
    <select name="site" size=1>
    <option value="">Go to....
    <option value="http://www.yahoo.com">Yahoo
    <option value="http://www.spaceports.com">Spaceports
    <option value="http://apollo.spaceports.com/~ahfb">HTML Help
    <input type=button value="Go!" onClick="javascript:formHandler(this)">

    Last edited by HTML; 05-19-2002 at 08:09 AM.

Tags for this Thread