My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

Drop Down (Tree) Menu V3

(views: 16610)

Drop Down Menu V3 and Drop Down Tree Menu V3 are xml flash accordion menus featuring customized states, customized transitions and tweens. Here are all known issues for Drop Down Menu V3 and Drop Down Tree Menu V3, they should be similar, since basically it is the same component. If you have any questions that you think we should discuss here please let us know.



Call JavaScript from XML

(2007-07-06 - views: 20433)
Q: How can i call JavaScript function from XML?
A: Nothing more simple. You have to place your JavaScript code in url param in xml like this:

<item title="new Item" url="javascript:yourFunction('This alert is from XML')" target="_self">

In order to make this example functionable you have to set target param to indicate where is your JavaScript function is located. If you have your target = "_blank" it will search for your JavaScript function in a blank HTML page.


User Comments

dispatch a click event
posted by maitorod on 2008-05-10
Is it possible to dispatch a click event for a specific item from a movie clip?
dispatch a click event
posted by negush on 2008-05-12
Yes, it is possible to dispatch a click event for the AS2 component. Just use the dispatchEvent method of the component to dispatch the desired event and you can also pass any parameters you like through the event object:

myMenu.dispatchEvent( { target:myMenu, type:"onRelease", item:myMenu.items[0], anotherParam:"value" } );

The previous example triggers an "onRelease" event on one of the menu items and also passes along a new parameter to the event handler function called "anotherParam".
Slidehow xml calling javascript
posted by stereotypical on 2009-11-10
is this possible for a line like this on the xmlslideshowv3 as2.0??

javascript:NewWindow=window.open('promotion1.html','newWin','width=600,height=600,left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=Yes,resizable=Yes,fullscreen=No'); NewWindow.focus();void(0);

Ive tried it the same way with the accordian tree but it doesnt work, infact the gallery doesnt appear at all.
Slidehow xml calling javascript
posted by florodebat on 2009-11-18
Sorry for the late reply - it's more advisable to write us using the ticket system because we don't guarantee 100% response here.
Please open a new support ticket and write there about that problem and someone will help you to solve it. Thank you.

http://www.jumpeyecomponents.com/support/open.php
calling javascript extension using XML code
posted by user630796 on 2011-03-01
please help me out regarding how to call a javascript function from my XML code.
please give me hints.
thanks in advance.
RE:calling javascript extension using XML code
posted by kneo on 2011-03-02
Please read this post because it gives you exactly the answer to your question. Anyway, if you don't manage to do it, open a ticket and tell us there exactly what you need, and what you are trying to do.
PS Don't forget to give us the order id.


Login to post your comment login to post your comment

Back