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

Trying to use an ID tag listener


Poster: Nullstate
Dated: Tuesday June 29 2010 - 22:06:20 BST

Hi, I have a very non-standard need to be able to click on a menu item that merely has an id tag and a text tag. The id tag is used by another program that is using an id listener for when that tag is triggered. In regular HTML it looks like this:
Code:
<a id="show11">Home page settings</a>

This triggers a listener which then loads a modal DHTML window. I can't show you an example because it is behind a login, but could put a sample together if needed.
This is what I'm trying:
Code:
aI("text=Home Page settings;id=show11;");

When I hover over the menu item, I see
Code:
javascript: void(0);

Do you know how I might make this work?
Thank you,
-john

Re: Trying to use an ID tag listener


Poster: Ruth
Dated: Wednesday June 30 2010 - 2:25:02 BST

Hi,

I will post to Milonic, since I think this is beyond my knowledge, but a sample would be very useful making it much easier to trouble shoot.

Ruth

Re: Trying to use an ID tag listener


Poster: Nullstate
Dated: Thursday July 1 2010 - 17:37:54 BST

Ruth wrote:
I will post to Milonic, since I think this is beyond my knowledge, but a sample would be very useful making it much easier to trouble shoot.

Unfortunately, the code calls to a Yahoo (YUI) library. All I can say is it works in standard HTML link. Here is the Yahoo page for the addListener method of the YAHOO.util.Event class:
http://developer.yahoo.com/yui/docs/YAH ... Event.html

-john

Re: Trying to use an ID tag listener


Poster: Ruth
Dated: Wednesday July 7 2010 - 2:57:26 BST

Hi John,

I haven't been able to reach anyone. I think you will need to try filling a support ticket here http://www.milonic.com/support/

Ruth