» Forums
» DynarchMenu forum
» Bug reports
» hmenu and prototype
» Re: hmenu and prototype
» Re[2]: hmenu and prototype
| Re[2]: hmenu and prototype ¶ | |
| > So I gather you generally want to be able to add an event handler when an item is clicked? If so, it could help you if you can get a reference to the item's <tr>? Well, the item is a link like this : <a id=myname>Menu Item</a> And later I want to attach an event to its onclick: Event.Observe('myname','click',myeventhandler) The <a> tag remains after you put a table around it, as far as I can tell when I use a tool to look at the rendered source code... | |
| Re[3]: hmenu and prototype ¶ | |
| The <a> tag does not get moved into the menus table structure. My mistake. The solution is to create a function that fires an event back to the hidden <a> link. All works after that. :) | |
| last |
(*) Discounts available for the above products!













