Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Drop down or Pop up Menus

Status
Not open for further replies.

pwinters

Programmer
Sep 12, 2002
34

I have a website for my office that I need help with...
Currently, it pulls data based on Month, but now that 2004 is coming, I'm adding a variable to include the year as well.

So, now I've got the code pulling up the year and displaying 2003, 2004, 2005 (pulls this from the database). The user can then click on a year and see all the projects for that year. Now, I need a way for the user to click on 2003, and have the option to choose a month (i.e. Jan. Feb. etc) I was thinking of using menus that popup when you click on the year, but I don't know how to go about implementing this.

Can anyone help me out? Is there a better or easier way to do this?

Thanks!
 
You could have two menus, one for month and one for year. Make the first option on the month menu read Twelve Months or Whole Year with a value such as all or 13 or -1. Make this the default selected option. If no month is selected then prepare the report for a full year; otherwise prepare the report for the selected month and year.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top