Demo for Milonic Bolt-on Clock Module
for use with
Milonic
Solutions' DHTML Menu V5
The Milonic Menu Clock is very easy to use. It can be used in an existing menu as another item, or it can be set up as its own menu.
INSTRUCTIONS
- Code the aI string that you want to be the clock and date:
aI("text="+getMilonicDate()+";align=center;type=clock;")
- Language
- If your language is English, call the menuclock.js file just before your menu_data.js file
<SCRIPT language=Javascript src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=Javascript>
if(ns4)_d.write("<scr"+"ipt language=Javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=Javascript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=Javascript src="menuclock.js" type=text/javascript></SCRIPT>
<SCRIPT language=Javascript src="menu_data.js" type=text/javascript></SCRIPT>
- If your language is other than English:
-
Open the menuclock.js file find these lines, change the months and days to your language and save the file. Do not change their order or the dates will be incorrect.
monthNames=new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" )
dayNames=new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")
Example for Spanish:
monthNames=new Array("enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" )
dayNames=new Array("domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado")
- Place the call for the menuclock.js file as noted in I above.
DHTML Menu courtesy of
Milonic Solutions
Download
clock demo and
menuclock.js not included in the zip file.