HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
loading main page from a menu
Post new topic   Reply to topic    HTML Help Forum Index -> PHP
View previous topic :: View next topic  
Author Message
BillR



Joined: 24 Jun 2006
Posts: 13
Location: South Carolina, USA

PostPosted: Wed Jul 12, 2006 6:36 pm     loading main page from a menu Reply with quote

I have a page using frames that does what I want, but I would like to eliminate the frames. I have my style set to keep my menus on the right 150PX. I want to use the remainder of the page to display a calendar selected from one of the left menus. I use PHP to place the select menu on the page, so I know that PHP works on my site.

First is the selection code:
Code:
<div id="button">
  <ul>
    <h4>2006 Calendars</h4>
    <li><a href="calendars/july-2006.html" target = "overview">July 2006</a></li>
    <li><a href="calendars/august-2006.html" target = "overview">August 2006</a></li>
    <li><a href="calendars/september-2006.html" target = "overview">September 2006</a></li>
    <li><a href="calendars/october-2006.html" target = "overview">October 2006</a></li>
    <li><a href="calendars/november-2006.html" target = "overview">November 2006</a></li>
    <li><a href="calendars/december-2006.html" target = "overview">December 2006</a></li>
   
  </ul>
</div>


Here is what I have for the area where the calendars should appear.
Code:
   <div id="overview">
     <!--<src = "display.html" name = "overview">-->
   <p>
   <img src="img/calendarFill.jpg" ALT="Roberson Family Calendars" name = "overview"/></a>
   <h4>Please select from the list of calendars to the left.</h4>
   </p>   
   </div>



So what do I need to change to make these things work?
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Thu Jul 13, 2006 9:43 am     Reply with quote

You can use the querystring to include files

http://www.degs.co.uk/test/hct/include%20via%20url/
BillR



Joined: 24 Jun 2006
Posts: 13
Location: South Carolina, USA

PostPosted: Thu Jul 13, 2006 3:22 pm     Looks like the solution Reply with quote

Thanks for the link. That looks like it will do what I need.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> PHP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial