Sending Dynamic Text into the Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
orwei
Beginner
Beginner
Posts: 1
Joined: Thu Nov 04, 2004 10:15 pm

Sending Dynamic Text into the Menu

Post by orwei »

Before i begin, let me say that I am using

Milonic DHTML Menu - JavaScript Website Navigation System. Version 5.50

Ok, so here is what i would like to do. I am calculating a number on the webpage using javascript, and I would like that number to be displayed on a menu item. I don't know how to send my text into the javascript file, so the Milonic menu will display that number i calculated. Can anyone help me out?

For a more detailed descritption, look at my the link below. If you put your cursor on the moving icon, it will display's Milonic dynamic pop up menu. I want a menu item to have the dynamically caluculated number i produce.

http://www-scf.usc.edu/~nchou/588/Map.htm

Thanks for your help!
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Your example url didn't work for me (timed out). So I can't give specifics. But there's a function called mm_changeItemProperty(), described in this thread, that can be used to change any menu item property dynamically. You should be able to use it pretty easily to cange the text of a menu item (an item's text property is a codeRef of 1).

Cheers,

Kevin
Post Reply