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()
* 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)
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.