Jump to content

table question.


Guest woodman445

Recommended Posts

Guest woodman445

I'm learning XHTML for a school project, and have sofar built this: http://members.shaw.ca/adam92.1/page%202.htmlI've made my page layout in table format, but have run into an issue. I would like to be able to target the right-most cell as the "content" portion of this page using the left table cell as my menu without reloading the whole page with every new window.Can anyone point me in the correct direction as how to do this? Or if you have any suggestions as to making a new layout that goes without using tables could you let me know about them?Last thing, I want to avoid using frames at all costs.Thanks in advance!

Link to comment
Share on other sites

The easiest way is to use <iframe>. But since you want to avoid frames, you could use a simple show/hide script that works with <div> tags.Essentially, you page will load will all the content of all your sections. When you click on a link from your menu, it will show only the one section the link is associated with - all others are in hidden <div>s.Something similar came up before, and I generated this smaple code to work off of - some modifications may be needed - especially if you are coding in stict XHTML.http://www.iribbit.net/_files/radio-showhide.htm

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...