Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2009
    Location
    Earth - sometimes sky :-)
    Posts
    121
    Thanks
    51
    Thanked 2 Times in 2 Posts

    How to load a new menu bar into a DIV???

    Greeting to all.
    I try to do this:

    Step 1.
    I have 3 DIV elements lets say DIV1 , DIV2 and DIV3.
    In DIV1 I put menu labels MENU1 | MENU2 | MENU3.

    Step2.
    And now,if I click on MENU1 in DIV1 it should load in DIV2 a new menu bar with the menu labels MENU1a | MENU2b | MENU3b

    Step3.
    If I click now MENU2b in DIV2 it should load a page in DIV3.

    So,the question is:

    What is the best way to make this menu relation?
    Is it possible to coding it in HTML and CSS?
    Is it correct to use iFrame tag in DIV3 to load a page or is there some tag
    for use inside DIV element that is more correct to use then iFrame?

    I thinking about to make two pages where I put my menu labels and in DIV2 I put an iFrame for loading the pages in order how I click on the menus on DIV1. And,if the correct page loaded in DIV2 with the menu elements I click on the menu displayed ind DIV2 and now it should load a new page in iFrame which is defined in DIV3.

    is this ok? or is there any other simple way to do a menu loading relation?
    Thanks for all suggestion and or help.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,673
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello joda,
    Maybe you could find a menu that will suit your needs on this site - http://www.cssplay.co.uk/menus/
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    joda (04-11-2009)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •