dynamically change the displayed text

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
hamipers
Beginner
Beginner
Posts: 2
Joined: Fri Aug 12, 2005 2:08 pm

dynamically change the displayed text

Post by hamipers »

Hello
I have manipulated the source of Dragable menu so that the url item will run a function (func1) instead of opening a page. I would like to know if I could edit text item in aI and write a dynamic text in it according to the result of the function. How would i do that? And generally I would like to know how many items exits in aI. Are they editable?
Any help is greatly appreciated

with(milonic=new menuname("Samples")){
style=menuStyle;
overflow="scroll";
aI("text=Horizontal Navigational Menu;url=javascript:func1()");
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Well, I don't do functions, but as it items in aI, I'm not sure what you mean, but there's a list of links below my name, one is called itemproperties which is an alphabetical list of all the properties you can apply in the aI string.

Also, there is a function that was written for someone to have text change on rollover, but that's a fixed text, don't know if that will help you but from it you may be able to figure out how to do what you want.

http://support.milonic.com/demos/swap_text/index.htm

Ruth
Post Reply