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:13
dynamically change the displayed text
Poster: hamipers
Dated: Tuesday February 21 2006 - 14:39:21 GMT
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()");
Poster: Ruth
Dated: Wednesday February 22 2006 - 6:19:25 GMT
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