Using ASP to obtain the date and add it as a menu item
As you can see this is a very simple project
where we use ASP to include the server's date into the toolbar.
The sample also shows how to disable a menu item (so it does not receive mouse
events) and how to change its colors.
|
<script language="JavaScript"> dmbAPI_Init(); var tbi = dmbAPI_addTBItem(1, "<% Response.Write DateString(Date(), False) %>"); dmbAPI_setItemState(tbi, false); dmbAPI_setColor(tbi, "#000000", "#A7C49C"); </script> |