Popup Calendar

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Popup Calendar

Post by fulmer »

Hello,

I know the menu can display the current date and time using

Code: Select all

aI("text="+getMilonicDate()+";align=center;type=clock;");
but is there a way to show a mini calendar?

I'm thinking of something similar to this:
http://www.webreference.com/dhtml/column69/2.html
(click the little calendar graphic to see a popup calendar)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I know that a calendar is on the 'to do' list. As to ones that are already out there, I don't know if you could call one of them from the menu.

Ruth
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

The short answer is yes, there is one, I'm not sure if its still in the test stage or how you can access it.

Someone else step in.

maz
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Popup Calendar

Post by kevin3442 »

Hi,
fulmer wrote:...but is there a way to show a mini calendar?
You want to show a calendar inside a menu item, or just have a menu item pop up the calendar at the cursor position, like the example you referenced does?

Kevin
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

sorry for the long delay in replying...

Yes, I do want a calendar that would popup where the cursor is.
But a calendar that would popup like a menu item wouldn't be bad either.
Maybe even a floating calendar would be kinda cool too...
willemk
Beginner
Beginner
Posts: 5
Joined: Wed Feb 09, 2005 10:46 am
Location: Amsterdam

Maybe this helps

Post by willemk »

Code: Select all

<INPUT type="text" name="day" size="3" value="" onFocus="this.value=''"> <INPUT type="text" name="month" size="3" value="" onFocus="this.value=''"> <INPUT type="text" name="year" size="4" value="" onFocus="this.value=''"> &nbsp; <a href="javascript:show_calendar4('', '', './');"><img src="images/cal.gif" width="16" height="16" border="0" alt="Klik hier om een datum te kiezen."></a>
Put this is the head of your page

Code: Select all

<script language="JavaScript" src="include/cal.js" type="text/javascript"></script>
And here's the link to get it all
http://www.slotracinglemans.com/newforum/include/cal.js

A couple of navigation images and your there. You "steel" them as well.
Check the paths and your there!
Note: I'm not sure if it works across all the browsers!

Cheers
<b><i>A man's got to know his limitations!</i></b>
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi fulmer,

Sorry to leave abrubtly. I was out of town last week. Have you achieved your goal, or still working at it?

Kevin
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Re: Maybe this helps

Post by fulmer »

willemk wrote:

Code: Select all

<INPUT type="text" name="day" size="3" value="" onFocus="this.value=''"> <INPUT type="text" name="month" size="3" value="" onFocus="this.value=''"> <INPUT type="text" name="year" size="4" value="" onFocus="this.value=''"> &nbsp; <a href="javascript:show_calendar4('', '', './');"><img src="images/cal.gif" width="16" height="16" border="0" alt="Klik hier om een datum te kiezen."></a>
Put this is the head of your page

Code: Select all

<script language="JavaScript" src="include/cal.js" type="text/javascript"></script>
And here's the link to get it all
http://www.slotracinglemans.com/newforum/include/cal.js

A couple of navigation images and your there. You "steel" them as well.
Check the paths and your there!
Note: I'm not sure if it works across all the browsers!

Cheers

Hello,

Thanks for the info, but I'm a little confused as to what to do with that info.

The first code section above, what should I do with that?
Is that section supposed to be placed in a webpage somewhere, or in the menu data file?
Last edited by fulmer on Tue Feb 22, 2005 10:17 am, edited 1 time in total.
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

kevin3442 wrote:Hi fulmer,

Sorry to leave abrubtly. I was out of town last week. Have you achieved your goal, or still working at it?

Kevin
Hello Kevin,

Nope, still trying to figure out how to get it done :D
Post Reply