Search tutorials
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.85 Votes: 26 |
| » Author |
| Applications Developer Marconi Australia |
| » Download |
| Download the files used in this tutorial. |
| Download (369 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!