Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Loading a ComboBox from a file
Author: Sas Jacobs
| Website: http://www.sasjacobs.com |
Adding a change handler
The change handler will load the site into a new window. It is shown below.
The loadSite function retrieves the data for the selected item - the URL. It
then loads the URL into a new window - the target is _blank.
CBOLoadSites.setChangeHandler("loadSite");
function loadSite(component) {
var SiteURL = component.getSelectedItem().data;
getURL(SiteURL, "_blank");
}
You'll have to publish the file to see this working.
The complete code for frame 3 of the actions layer is shown on the next page.
| » Level Intermediate |
|
|
Added: : 2002-08-13
Rating: 7.64 Votes: 25
Hits: 2138
|
| » Author |
|
Applications Developer
Marconi Australia
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (369 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|