I've tried to write a script, it works but there is a problem with
scrolling. First the code:

tl.getBand(0).addOnScrollListener(function(band) {
                tl.loadXML("dynamic-xml-output.xml.php?
minVisibleDate="+band.getMinVisibleDate()
+"&maxVisibleDate="+band.getMaxVisibleDate()
+"&earliestDate="+eventSource.getEarliestDate()
+"&latestDate="+eventSource.getLatestDate() , function(xml, url) {
                        eventSource.loadXML(xml, url);
                });
});

The php-Script returns a valid xml-file and prevents loading double
entries. When I scroll with the arrow keys everything works, but when
I scroll with the mouse, over a period I get double entries. Any ideas
to prevent this?

Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to