471,599 Members | 1,251 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

HTML/CSS Menus - loading pages in Divs

222fbj
2
There are several menus on the Listamatic site - for example this Horizontal Menu . The links for the menu items are in the form
Expand|Select|Wrap|Line Numbers
  1. <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
Aug 24 '07 #1
3 1703
drhowarddrfine
7,435 Expert 4TB
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.
Aug 24 '07 #2
222fbj
2
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.
Aug 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

20 posts views Thread by Al Moritz | last post: by
8 posts views Thread by Sandy | last post: by
1 post views Thread by paulakeijzers | last post: by
3 posts views Thread by Nish | last post: by
3 posts views Thread by vunet.us | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.