I am using Spry (SpryData.js,xpath.js
)
var ds1 = new Spry.Data.XMLDataSet("_db/db.xml", "bildiriler/bildiri",{useCache:false});
// load the xml tree
....
<!-- use it in a loop -
Sometimes the page use "ds1.loadData();" to refresh the data -->
<div spry:region="ds1" spry:repeatchildren="ds1">
<a href="#">{author}</a></div>
So how can I show a loader animation or "Loading text" while XML data is loading
(It takes a long time -about 2 sec from a slow CD-. My XML file is big 100KB )