You are not logged in.

ABSML API

Beginner

Advanced

Step 1 - Include the Yahoo AJAX script in your page. This usually goes in the head of the document

<script type="text/javascript" src="http://yui.yahooapis.com/2.6.0/build
/utilities/utilities.js"></script>

Step 2 - Make a div on your page and give it a unique ID. In this case, it's "absml". This is where your ABSML text is going to appear. You might want to put a loading graphic in here to start with, but you can also leave it blank.

<div id="absml"></div>

Step 3 - Add a JavaScript block to your page if one doesn't already exist

<script type="text/javascript">
// Your JavaScript code will go here
</script>

Step 4 - Construct a JavaScript variable that is the URL to the ABSML API. The URL contains 1 variable, 'f', which is the URL to yout ABSML file

<script type="text/javascript">
var url = "http://transition.turbulence.org/Works/absml/service/?"
+ "f=http://transition.turbulence.org/Works/absml/userfiles/admin
/andrews%20test.xml";
</script>

Step 5 - Make a call to the ABSML API using the Yahoo AJAX API

<script type="text/javascript">
var url = "http://transition.turbulence.org/Works/absml/service/?"
 + "f=http://transition.turbulence.org/Works/absml/userfiles/admin 
/andrews%20test.xml";YAHOO.util.Get.script(url);
</script>