Forum Moderators: open

Message Too Old, No Replies

Javascript drop down box

For changing current calendar month

         

runner

6:27 pm on Jan 11, 2005 (gmt 0)

10+ Year Member



I have a calendar on my web site that uses a "previous month" and "next month" link to traverse the various months of the calendar.

I don't know much about javascript but I know enough to copy existing snippets and modify them. I'd like to know if it would be possible (or even advisable) to change the way my users select a different month.

What I'd like to do is eliminate the "previous month" and "next month" links and make a javascript drop down box that appears when the user places the mouse pointer over the currently displayed month name. That way, they can jump directly to the month they want without scrolling through several different months to get there.

I looked at using a standard drop down box but I don't like the box border and the arrowhead that is placed around the month name. I thought there might be a way to use javascript to make a hidden menu appear "on mouse over" instead the old clunky drop down box.

runner

2:49 am on Jan 12, 2005 (gmt 0)

10+ Year Member



I figured out how to do what I want using a standard select box and using css to modify the look of the box.