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

Clock


Poster: johns
Dated: Sunday November 27 2005 - 22:20:29 GMT

The clock function is excellent ... but I would like it to appear as a header style item rather than a menu one (i.e. it has the header colours, and doesn't respond to mouseover).

If I change the type from "clock" to "header" this works ok, but the time is nolonger up dated but frozen at the time when the page opened. You can see the two effects at: http://bluntishambaptist.org which is how I would like it to appear (but doesn't update time), and http://bluntishambaptist.org/subsite (when on mouse over the item changes to the onbgcolor).

Any ideas! Thanks.


Poster: Ruth
Dated: Monday November 28 2005 - 2:29:51 GMT

Hi,

It has to have type=clock; to function with the time and date.

You can fix the colors by adding the colors you want to the aI string, i.e. if your headerbgcolor is red and the headercolor is white, you would put offbgcolor=#ff0000; onbgcolor=#ff0000; offcolor=#ffffff;oncolor=#ffffff; into the aI string. You can also put in mouse so that it doesn't change to a hand, pointer=crosshair; I believe that's one of the acceptable css codes.

This doesn't disable the item so the clock will work, but someone can click it and get the javascript:void message in the bottom of the browser, but it will look like a header.

You could also have it allow clicking but have it pop up a tiny window with some message. If you knew how to do functions you could probably make one that would pop up a specific window message depending on the time.

Ruth


Poster: johns
Dated: Monday November 28 2005 - 10:11:21 GMT

Hi Ruth

Many thanks - I think I tried that before! It all works except for offbgcolor which doesn't make any difference I still get the headerbgcolor. I've made the changes to the sites so you can see what I've done.


Poster: Ruth
Dated: Monday November 28 2005 - 10:24:16 GMT

Hi,

I just downloaded the page and it seems the line for that aI has an extra space in it between align=left; and offbgcolor=#xxxxxx;. As soon as I got rid of that space the offbgcolor worked.

Ruth


Poster: johns
Dated: Monday November 28 2005 - 11:53:46 GMT

Upps - sorry should have noticed that!

Many thanks