What i want to ask is if it is possible to inclide html content inside <item tag when i am initializing the menu via XML.
10x in advance
Nikolai
What i want to ask is if it is possible to inclide html content inside <item tag when i am initializing the menu via XML.
10x in advance
Nikolai
I think it will be something like this:
menu.addNewSibling(null, “1th”, “”, false)
10x for the response but what if the menu data is comming from xml file generated by the server?
The xml structure contains “<” just like the html elements.
any example how this can be archived?
About XML: i need to clarify what exactly html object do you mean and what do you expect from it. Please, attach some graphics.
i want to put image element and attach onclick event that is going to prevent the default onclick event for the menu when the image is clicked. (The image is going to be aligned right from the menu text.
Hi
Try this
<item id="myItem" text="<img src="some.gif" onclick="yourFunc">"/>
10x