By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Pages appearing in the wrong frame

P: 1
I am quite new to web development and am struggling with something that seems like it should be fairly simple.

I have a page that uses frames. In the left hand frame a menu page is displayed. Clicking on any of the menu optins displays a new page in the right hand frame. So far this works ok, however I have tried to add a drop down option to the menu page. Clicking on any of the dropdown options displays the desired page, but in the left hand frame.


The code of the 2 pages is below. I would be very grateful for any help and advice.

Thanks in advance
Ian


The main page:-

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. <title>Pathfinder 25 Challenge Hike</title>
  6. <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
  7. <meta name="ProgId" content="FrontPage.Editor.Document">
  8. </head>
  9.  
  10. <frameset framespacing="0" border="0" cols="188,*" frameborder="0">
  11.   <frame name="left" scrolling="no" noresize target="rtop" src="Menu.html">
  12.   <frameset rows="15%,*">
  13.     <frame name="rtop" target="rbottom" src="header_pane.html" scrolling="no" noresize>
  14.     <frame name="rbottom" src="Home.html">
  15.   </frameset>
  16.   <noframes>
  17.   <body>
  18.  
  19.   <p>This page uses frames, but your browser doesn't support them.</p>
  20.  
  21.   </body>
  22.   </noframes>
  23. </frameset>
  24.  
  25. </html>
The menu page:-


Expand|Select|Wrap|Line Numbers
  1. <HTML>
  2. <!-- Creation date: 22/01/03 -->
  3. <HEAD>
  4. <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <TITLE>Pathfinder 25 Challenge Hike Menu</TITLE>
  6. <META NAME="Description" CONTENT="">
  7. <META NAME="Keywords" CONTENT="">
  8. <META NAME="Author" CONTENT="Ian Johnson">
  9. <META NAME="Generator" CONTENT="Microsoft FrontPage 6.0">
  10. <base target="main">
  11.  
  12. <script language="JavaScript">
  13. <!--
  14. function FP_goToURL(url) {//v1.0
  15.  window.location=url;
  16. }
  17. // -->
  18. </script>
  19.  
  20. </HEAD>
  21. <BODY BACKGROUND="images/menu_bkgrnd.gif" LINK="black">
  22. <FONT FACE="Arial, Verdana">
  23.  
  24.  
  25. <TABLE WIDTH="163" ALIGN="LEFT" CELLPADDING="3">
  26. <TR>
  27.     <TD><IMG SRC="images/scout_logo.jpg" BORDER="0" WIDTH="150" HEIGHT="103"></TD>
  28. </TR>
  29.  
  30. <TR><TD>&nbsp;</TD></TR>
  31. <TR>
  32.     <TD> <A HREF="home.html" TITLE="Home" TARGET="rbottom">Home</A></TD>
  33. </TR>
  34. <TR>
  35.     <TD> <A HREF="overview.html" TITLE="Over view" TARGET="rbottom">Over View</A></TD>
  36. </TR>
  37. <TR>
  38.     <TD> <A HREF="entry_form.html" TITLE="Entry Forms" TARGET="rbottom">Entry Forms</A></TD>
  39. </TR>
  40. <TR>
  41.     <TD> <A HREF="rules_list.html" TITLE="Rules" TARGET="rbottom">Rules</A></TD>
  42. </TR>
  43. <TR>
  44.     <TD> <A HREF="checkpoint_list.html" TITLE="Route from 2003" TARGET="rbottom">Hike Route</A></TD>
  45. </TR>
  46. <TR>
  47.     <TD> <A HREF="trophy_list.html" TITLE="Trophies" TARGET="rbottom">Trophies</A></TD>
  48. </TR>
  49.  
  50. <TR>
  51. <td>
  52. <form> <label><u>Results</u></label> 
  53.  
  54. <select accesskey="S" onchange=" FP_goToURL(/*href*/this.options(this.selectedIndex).value)"> 
  55. <option selected>Please select one</option> 
  56. <option value="Results sheets 2002.htm">2002</option> 
  57. <option value="Results sheets 2003.htm">2003</option> 
  58. <option value="Results sheets 2004.htm">2004</option> 
  59. <option value="Results sheets 2005.htm">2005</option> 
  60. <option value="Results sheets 2006.htm">2006</option> 
  61. </select> 
  62.  
  63. </form>
  64. </td>
  65. </TR>
  66.  
  67. <TR><TD>&nbsp;</TD></TR>
  68. <TR><TD><FONT SIZE="-2"> 25th Middlesbrough Scout Group 2003</FONT></TD></TR>
  69. </TABLE>
  70.  <p>&nbsp;</p>
  71. <p>&nbsp;</p>
  72.  </FONT>
  73. <P>
  74. </BODY>
  75. </HTML>
Oct 18 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.