1. PHP & Java Error Master
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    My Computer
    Rep Power

    JS/DHTML Pop calendar problems - HELP

    I'm trying to make a little popdown calendar.

    What I want is the user clicks the arrow, and the calendar appears. They select a date, and it disappears.

    I "thought" i could use this by putting all the calendar code inside a <div> but it's not hiding when I set it's vis to hidden.

    Here's the div:
    <div id="calendar" STYLE="position: absolute; visibility: hidden;">
    And here's the script:
    If that doesn't work, use this:

    The calendar is dynamically generated with jsp, so I don't know if that's messing it up.

    I know there's stuff like this out there for download, but i'd much rather code it myself and get the JS experience.

    Also, can a layer support an iframe inside of it?
    This calendar has arrows to select another month, and I'd rather not have to reload that page as they might have data in the form already.

    Any help is appreciated.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Rep Power
    It would be better to generate the calendar in javascript, then you can do next month buttons and just redo the div. The div should be able to be hidden as you have coded in the style.

    I can't pull up any of your code.

    My advice, go look up some scripts at www.hotscripts.com just to see how they do it, then code it yourself if you are still interested

IMN logo majestic logo threadwatch logo seochat tools logo