Having problems with DHTML Menu? There is usually somebody here who knows the answer.
fulmer
Super Advanced
Posts: 39 Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:
Post
by fulmer » Thu Feb 03, 2005 6:21 am
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)
Ruth
Team
Posts: 8763 Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:
Post
by Ruth » Thu Feb 03, 2005 7:38 am
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
Maz
Milonic God
Posts: 1717 Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:
Post
by Maz » Thu Feb 03, 2005 7:41 am
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
kevin3442
Milonic God
Posts: 2460 Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:
Post
by kevin3442 » Thu Feb 03, 2005 8:15 am
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
Posts: 39 Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:
Post
by fulmer » Wed Feb 16, 2005 8:21 am
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
Posts: 5 Joined: Wed Feb 09, 2005 10:46 am
Location: Amsterdam
Post
by willemk » Wed Feb 16, 2005 9:43 am
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=''"> <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>
kevin3442
Milonic God
Posts: 2460 Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:
Post
by kevin3442 » Tue Feb 22, 2005 1:26 am
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
Posts: 39 Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:
Post
by fulmer » Tue Feb 22, 2005 8:36 am
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=''"> <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
Posts: 39 Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:
Post
by fulmer » Tue Feb 22, 2005 8:39 am
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