Results 1 to 1 of 1

Thread: Dynamic Menu Based on Decade

  1. #1
    Join Date
    Feb 2013
    Location
    California
    Posts
    86
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Dynamic Menu Based on Decade

    I have a db table which contains information from HS yearbooks. One column of the table contains the year. Presently, I dynamically build a submenu containing all of the distinct years from the table. But, the list has now gotten rather long and I want to insert a second level submenu item with the decade. My problem is not building the submenus but rather determining the distinct decades needed.

    Here is a link to the present submenu. Select the menu item... Windom Yearbooks and you will see the long list of years.

    I would like to have something like this...

    Windom Yearbooks >
    '40s Yearbooks >
    1949
    '50s Yearbooks >
    1950

    Thus, my question relates to how to determine the distinct decades of the years from the db table.

    TIA for your assistance
    jdadwilson
    Last edited by jdadwilson; 07-03-2013 at 12:30 AM. Reason: Resolved

Similar Threads

  1. Accessing dynamic div based off array.
    By lmbarns in forum JavaScript
    Replies: 1
    Last Post: 01-22-2012, 04:34 PM
  2. Static HTML based CMS vs Dynamic CMS
    By dima777 in forum HTML
    Replies: 6
    Last Post: 01-14-2012, 12:38 AM
  3. Dynamic size popup window based on a table?
    By theDogger in forum JavaScript
    Replies: 1
    Last Post: 02-08-2008, 04:36 PM
  4. Replies: 3
    Last Post: 10-26-2006, 10:28 AM
  5. Replies: 4
    Last Post: 10-03-2006, 08:40 PM

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
  •