SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Simple Problem

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple Problem

    Hi, can someone please post some sample html/css/maybe js(don't know if it's needed)? where there is a left menu where upon clicking a header/div the right side displays the associated html table? For example, say I have a pizza menu on a website:

    Code:
    Left Menu:                    To the right of the menu, by default the table describing toppings for Cheesy will be displayed:
    Supreme combo               Mozarella
    Honolulu Hawaiian            Parmesan
    Waikiki Hawaiin                Romano
    Tons of meat                  
    Vegetarian
    Vegan
    Gluten Free
    Cheesy
    Upon clicking one of the pizza names in the left menu, it's toppings will be displayed. For example, clicking Tons of meat will replace the toppings for Cheesy:
    Code:
    Left Menu:                    
    Supreme combo                           Pepperoni
    Honolulu Hawaiian                     Sausage
    Waikiki Hawaiin                             Meatball
    Tons of meat                                 Bacon
    Vegetarian                    
    Vegan
    Gluten Free
    Cheesy
    Sorry the spacing in this post isn't coming out right, I don't know how to preserve spacing such that there are two columns, the left being the menu and the right being the toppings table. Thanks in advance!
    Last edited by ralph.m; Nov 15, 2012 at 23:01. Reason: added code tags for clarification


Bookmarks

Posting Permissions

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