web page help please, how to load content

Associate
Joined
16 Jun 2009
Posts
813
Ok ive got a menu strip thats pointing to a series of galleries that i have had lightroom generate for me. The page is essentailly 2 <div>'s at the moment. The menu in the top one and i want the gallery content to show in the bottom one.

How do i do that?

Ive tried this...

Code:
  <script type="text/javascript">
  function loadContent ( id, content ) {
    var node = document.getElementById( id );
    node.innerHTML = content;
  }
  </script>

	
   <div id="gallery_area";>
   
   </div>

passing in "gallery_area" and a link to one of the galleries index pages, but nothing happens.

Is there a better way of doing this?

ta in advance :)
 
Back
Top Bottom