itemOn

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
posword
Advanced
Advanced
Posts: 28
Joined: Tue Jun 20, 2006 7:42 am

itemOn

Post by posword »

I'm wanting to make the first item of my menu to automatically show the submenu when the Home page is loaded (see http://peterwade.com/. I cannot find an example as to where the "itemOn" variable should be placed. Any suggestions?

Thanks,
Peter
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: itemOn

Post by Ruth »

Hiya Peter :)

I have no idea how that particular function is used. I know I've seen it on pages on this site, but have no idea which ones.

If what you are trying to do is have the submenu for that item open when you get there, I think you want the bolt on module openmenusbyurl.js. I also think that you would have to set up pagematch in that item. I know that you can now do multiple page matches. The reason I say this is, the person can get there by the url you have in the post, but can they get there also using that url plus index. whatever extension? If so you'd need to show a page match for all the urls possible for that first item. You would declare them as normal, but separate them by a comma. So,

Code: Select all

pagematch=http://milonic.com/, http://milonic.com/index.php, http://www.milonic.co.uk;
You can get the module here almost to the bottom. http://milonic.com/menumodules.php

Hope this helps. I don't know how to use the itemOn, itemOff function. If you do a search for itemOn in this forum it gives a number of posts [only one page so not too many] Maybe you can figure out from them about using it.

Ruth
Post Reply