| ION Script Advanced Examples |
Dynamic Droplist Example
Frame code
Display code
Droplist code
Shows how to build a dynamic HTML droplist with IDL.
Dynamic Table Example
Main code
Table code
Shows how to build a dynamic HTML table with IDL. This example is discussed in the ION_DATA_OUT entry in the "Tag Reference" chapter of the ION Script User's Guide.
Passing IDL Variables to ION Script Example
Source code
Shows how to pass scalar IDL variables to ION Script and how to use the "$ION.uniqueID" system variable to label temporary files.
Also demonstrates the use of the FORMAT attribute in the ION_VARIABLE tag.
Image Processing Example
Source code
Demonstrates how to process an image with just a mouse click.
JavaScript form validation
Main code
Visualization code
Shows how to validate data by using JavaScript.
Locate areas of NYC
Source code
Shows how to use ION and JavaScript to capture events.
Also demonstrates coding for individual browser types and the use of HTML attributes
in ION tags that are newly available to the ION programmer.
World Map JavaScript Example
Routing code
IE code
Netscape code
An example of how to use JavaScript to capture mouse events in an ION_IMAGE configured as an image map. The example tests for the browser type and opens the appropriate page.
World Map JavaScript Example 2
Source code
Demonstrates how to use JavaScript to capture the mouse position over an ION_IMAGE. Also demonstrates coding for individual browser types.
Large data set example
Source code
Shows how to work around browser URL length limits when using large data sets.
Guessing Game Example
First page
"Yes" code
"No" code
Guess frame
Log frame
An example that illustrates several programming techniques including using the ION_IF tag, passing $Form variables via a URL, getting scalar IDL variables into ION script variables, and using the "$ION.uniqueID" system variable to label temporary files.
User's Guide Example Application
Demonstrates how to create a complete ION Script application.
This example is discussed in the "Creating ION Script Applications"
chapter of the ION Script User's Guide.
Source code:
ex1_main.ion
ex1_scale.ion
ex1_form.ion
ex1_validate.ion
ex1_data.ion