Acid.JS Web 2.0 Component Library

EULA.XML - AJAX License Agreement Component 1.0

EULA.XML is an easy to setup, full of features and skinnable AJAX application that can be used to display license agreement wizards on web-pages.

It is easy to customize, comes with a set of 4 confirmation modes (None, Checkbox, Radiobuttons, Dropdown), cool 12 skins with rounded corners, custom actions for the "Cancel" and "Finish" buttons, and its installation on a webpage is a matter of minutes.

Demo

Confirmation Modes and Skins

EULA.XML comes with a set of 4 confirmation modes - None, Checkbox, Radiobuttons and Dropdown. You may test these modes by choosing a mode from the dropdown below. This will change the skins as well, as you may define different skin foe each agreement you load.

To set confirmation mode and skin, use the following properties of the <eulaxml /> collection of the agreement .xml file:

<eulaxml confirmmode="Dropdown" skin="Vista" />

Disposing EULA.XML

The control can be easily removed from the page by using the its dispose() method:

rendereulaxml.prototype.dispose()

Click to Dispose EULA.XML

* To load again EULA.XML, reload the page or look at the "Load EULA.XML on Demand" topic below.

Load EULA.XML on Demand

The control can be loaded on the client not only on page load, but on demand as well by using its demand():

rendereulaxml.demand(agreementfile)

Load EULA.XML on Demand

Adding Functionality to the Cancel and Finish Buttons *

This is the core functionality of EULA.XML - the thing that will happen when the user that has agreed to the license agreemtnt and presses the "Finish" button or just the opposite - when users press the "Cancel" button. This should be a custom JavaScript function that when executed will point to a download file, other page or something else.

To add functionality to the "Finish" button, use the actionafterconfirm property of the agreement .xml file:

actionafterconfirm="alert('the finish button has been clicked')"

To add functionality to the "Cancel" button, use the actiononcancel property of the agreement .xml file:

actiononcancel="alert('the cancel button has been clicked')"

* This functionality is available in the full version of the control.

Browser Support

EULA.XML works with all major browsers. Microsoft Internet Explorer 6 is supported partially.

  • Internet Explorer 7
  • Internet Explorer 8
  • Mozilla FireFox
  • Opera
  • Google Chrome
  • Apple afari

Differences Between the Lite and Full Version

The full version of EULA.XML ($30.00) comes with a set of 12 predefined skins, while the Lite version, which is available for a free download is shipped with three skins only and no custom functions can be attached to the "Cancel" and "Next" buttons.