PDA

View Full Version : Combining <body> and <frame>



Jackmason
24 May 2011, 11:33 PM
We would like to have a constant sidebar for navigation with a frame type content page such that when the user clicks on a sidebar item, a new page will be displayed in the content area without any other divs on the page being refreshed, redisplayed, etc. The sidebar and other divs on the page cannot be frames.

Is this possible?

<CrGeary.com/>
26 May 2011, 04:21 PM
Yeah this is possible, however i wouldn't recommend it, it makes for a messy site. If you wan't to load the content in without reloading the page, consider ajax technology.
Or use PHP includes ( you page will refresh, but your sidebar etc will be the same on all other pages ).

In answer to your question, here is an example: http://www.pageresource.com/html/frame4.htm