Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:54

Popup Calendar


Poster: fulmer
Dated: Thursday February 3 2005 - 5:21:45 GMT

Hello,

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

Code:
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)


Poster: Ruth
Dated: Thursday February 3 2005 - 6:38:25 GMT

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


Poster: Maz
Dated: Thursday February 3 2005 - 6:41:38 GMT

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

Re: Popup Calendar


Poster: kevin3442
Dated: Thursday February 3 2005 - 7:15:29 GMT

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


Poster: fulmer
Dated: Wednesday February 16 2005 - 7:21:54 GMT

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...

Maybe this helps


Poster: willemk
Dated: Wednesday February 16 2005 - 8:43:58 GMT

Code:
<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:
<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


Poster: kevin3442
Dated: Tuesday February 22 2005 - 0:26:32 GMT

Hi fulmer,

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

Kevin

Re: Maybe this helps


Poster: fulmer
Dated: Tuesday February 22 2005 - 7:36:25 GMT

willemk wrote:
Code:
<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:
<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?


Poster: fulmer
Dated: Tuesday February 22 2005 - 7:39:19 GMT

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