GhostWire CollapsibleMenu [Specifying 'target' for GetURL] In the CollapsibleMenu, you can set 'GetURL' for the Action component parameter. With this option selected, selecting a menu item will invoke the actionscript 'getURL()' passing the 'data' of the menu item as a single parameter.
Since there is no 'target' parameter for the built-in GetURL event handling, you won't be able to specify a target using this Action.
If you need to specify a target for your urls, then please set Action to 'Event' and define your own event handling (this is the default).
myMenu.onSelect = function(data)
{
getURL(data, "_myTargetFrame");
}
Alternatively, you may use the GetURL event if you are populating the component using setDataProvider method. The object defining an item should have the 'data' property defined as an object containing the properties 'url' and 'target' (normally the 'data' property is just a string).
Flash Components
Button
:: CheckBox
:: CollapsibleMenu
:: CollapsiblePane :: ColorPicker :: ComboBox
:: ContextMenu
:: DialogBox
:: InputField
:: ListBox :: Loader :: Menu
:: SlideMenu
:: NumericBox
:: Panel :: ProgressBar :: RadioButton
:: ScrollBar
:: ScrollPane
:: SlidePane
:: Slider
:: TabView
:: TextArea
:: TreeView
:: Window
See also
Documentation :: FAQs :: Testimonials
|