» Widgetplus API
Setup / Structure

Structure of an application

The application is defined within the root element <animation/>.

Below you can see how the app is structured.




Which translates into something like this, codewise.
Pretty simplistic, really.





Click to run basic example
Click to view source


Publishing

Once the XML file has been coded, save it to your online desktop in the 'programs' folder.
The path to your application becomes:


http://www.naltabyte.se/
desktop/xin/your_root/ programs/
your_app.xml



About ID's

The first DIV block is also the applications main container and it should have it's ID set to <app_id>, and the app is to be saved and made accessable as <app_id>.xml.
This makes the application easy to process.

You can have multiple containers, but the main container should have this ID.


Required

The TITLE tag must be present.