Ryan's District Boards

Computer, programming, and webmaster help , support , tips and tricks => Tutorials Zone! => Internet webmaster computer programming technology tips and tricks => XML Tutorials => Topic started by: ben2ong2 on October 06, 2006, 04:15:52 PM

Title: Add a Navigation Script
Post by: ben2ong2 on October 06, 2006, 04:15:52 PM
Navigation has to be performed by a script.
To add navigation to the XML Data Island, create a script that calls the movenext() and moveprevious() methods of the Data Island.
<script type="text/javascript">function movenext(){x=xmldso.recordsetif (x.absoluteposition < x.recordcount)   {   x.movenext()   }}function moveprevious(){x=xmldso.recordsetif (x.absoluteposition > 1)   {   x.moveprevious()   }}</script>

All Together Now
With a little creativity you can create a full application.
If you use what you have learned on this page, and a little imagination, you can easily develop this into a full application.