Log in

View Full Version : Loading External Content



mvwebdesign
06-24-2008, 08:05 PM
Hi,

I am working on a website and I have a layout:

Sidebar, Header, Footer and a Big Body.

My body is composed of a scrolling DIV that contains the content of the page.

I need a script that will load the content from the navigational links in the sidebar into the body's scrolling DIV. I can change the DIV to an IFRAME if needs be. My only requirement is that no javascript can be used.

Thanks for your help

DimX
06-24-2008, 08:11 PM
Well, if no JavaScript, then your only choice is to turn the div into an iframe and to have target="name_of_the_iframe" on every sidebar link.


<a href="something.html" target="bodyFrame">Something</a>

<iframe name="bodyFrame"></iframe>