Clock script?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Clock script?

Post by rudy »

Where can I find the script (actual code) for the clock script for the menu's that Andy posted earlier to show how it works?
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Check the page source for the location and setup.
John
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

John wrote:Check the page source for the location and setup.

I see that the following code must go on the page where the menu is located:

Code: Select all

<SCRIPT language=JavaScript src="menuclock.js" type=text/javascript></SCRIPT>	
<SCRIPT language=JavaScript src="menu_clock_data.js" type=text/javascript></SCRIPT>
but not sure how to write it as an item on my _data.js file?
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Simply plug the domain and the src= together to come up with the URL...

http://milonic.com/menu_clock_data.js.

Note also that menuclock.js has comments you will need to check (but nothing to be changed there!).
John
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

John wrote:Simply plug the domain and the src= together to come up with the URL...

http://milonic.com/menu_clock_data.js.

Note also that menuclock.js has comments you will need to check (but nothing to be changed there!).

Thanks John,

Got eveything I need - going to give the clock a try - I think it's pretty cool.
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

rudy wrote:Got eveything I need - going to give the clock a try - I think it's pretty cool.
Agreed. Just that one aI line and the new JS will do it (along with the other regular menu stuff, of course).
John
Post Reply