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

still lost...lol


Poster: code-illiterate
Dated: Friday August 29 2003 - 16:28:17 BST

OK, just to make sure I'm right in this, and I'm really illiterate on webpages...well except for basic html...when it talks about 'yourfunction' does that mean you have to write a javascript or something? and where would you put it..not that i can write one, but.... I looked at the onmouseover menu and the code shows like this

aI("text=Menu Samples;showmenu=Samples;onfunction=item_on();offfunction=item_off();");

I doubt that putting in onfunction etc would make it do what I want and I can't even figure out how it's doing what it shows there, I don't see any kind of code for it, only the onfunction=item_on etc. Feeling really dumb :?


Poster: Maz
Dated: Friday August 29 2003 - 22:45:04 BST

:D You made me LOL

I have no clue, maybe the menu only opens when you click the mouse?
I know you can add mouse clicks to do things but I don't think this one does anything but on and off. Perhaps its just the example, if I wanted to use it to do something, I'd probably find a tag for a mouse click and try to make it fit with what it says like a diagram.

The question is, what would you want it to do?

Is everyone on the east coast asleep already, its Friday!

maz


Poster: code-illiterate
Dated: Friday August 29 2003 - 23:50:26 BST

Well, doggone, I just KNEW I was good for something, and making someone laugh is a good thing :) ...I'm not sure what I want it to do. It would be some script I found on some jsscript site at some point that I liked. But, I just wondered where one would put whatever thing one wanted to use. On the sample page for that onmouseover/onmouseout things get put into some kind of form, but when I tried to find the script that told it to put it in the form I couldn't see where it was, except for something that said item_on etc. Have a great day and thanks for the response.


Poster: Hergio
Dated: Sunday August 31 2003 - 18:46:31 BST

Quote:
aI("text=Menu Samples;showmenu=Samples;onfunction=item_on();offfunction=item_off();");

the onfunction attr. is basically saying that when you hover over this menu item, a function called item_on is called. Ditto for offfunction, but when you hover off. You have to define a function called item_on and have it do what you want. You could put any function name in there, but item_on is used for the sake of example and may not even be on the page anywhere. If you cant see it, also try searching through the mmenudom file, it may be in Andys source code.