HTML/CSS Menus - loading pages in Divs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 222fbj
    New Member
    • Aug 2007
    • 2

    #1

    HTML/CSS Menus - loading pages in Divs

    There are several menus on the Listamatic site - for example this Horizontal Menu . The links for the menu items are in the form
    Code:
    <li><a href="#">Item five</a></li>
    My page is laid out with CSS/Divs. So how do I get the menu items to load an htm page in a Div? I looked, but did not find, a tutorial on this - if you know of one pls let me know. I may switch to a Dynamic Ajax Content menu - which includes menu/DIV links that work. But I would like to understand how the menu templates I find - which often use the code above - are made to load a htm page in a Div. --- thanks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    The only way to load a div with content that way is with js, but the content is already there, just hidden and later exposed. Another way is to use an iframe, not a div. But iframes are frames so you need to be aware of issues with using frames, such as difficulty to bookmark them.

    Comment

    • 222fbj
      New Member
      • Aug 2007
      • 2

      #3
      Thanks.
      Do you have an idea how the menu templates are meant to be used? I am interested in using them, and will study/learn what I need to know... but I am not sure what I need to study. Is the idea with these menu templates that you need to create your own JS for them?

      Thanks again.

      Comment

      • just a feeling
        New Member
        • Aug 2007
        • 86

        #4
        This might help

        Comment

        Working...