What XML record am I at

  • Thread starter Janusz Jasinski
  • Start date
J

Janusz Jasinski

Hi,

I have setup a HTML which contaons XML and you can naviage 10 records at a
time. However how do i tell the user what record they are at?. i.e. 10 out
of 677

I have the present code below:

<BODY BGCOLOR="#FF9900" TEXT="#333333" LINK="#FFFF00" VLINK="#FFCC66"
ALINK="#666600"><XML ID=grid SRC="carer_client_details.xml"></XML>
<H2>Book grid</H2>
<TABLE ID=gridTable DATASRC=#grid CELLPADDING=5 WIDTH="100%" DATAPAGESIZE=10
BORDER=1>
<THEAD>
<TR BGCOLOR="#CCCCCC">
<TH>Title</TH>
<TH>Author</TH>
<TH>Binding</TH>
<TH>Pages</TH>
<TH>Price</TH>
</TR></THEAD>
<TBODY>
<TR ALIGN=middle>
<TD><SPAN DATAFLD=admin_area></SPAN></TD>
<TD><SPAN DATAFLD=file_ref></SPAN></TD>
<TD><SPAN DATAFLD=title></SPAN></TD>
<TD><SPAN DATAFLD=forename_1></SPAN></TD>
<TD><SPAN DATAFLD=forename_2></SPAN></TD></TR></TBODY></TABLE>
<P ALIGN="CENTER">
<BUTTON onClick=gridTable.firstPage()>&lt;&lt; First Page</BUTTON>
&nbsp;&nbsp;
<BUTTON onClick=gridTable.previousPage()>&lt; Previous Page</BUTTON>
&nbsp;&nbsp;
<BUTTON onClick=gridTable.nextPage()>Next Page &gt;</BUTTON> &nbsp;&nbsp;
<BUTTON onClick=gridTable.lastPage()> Last Page &gt;&gt;</BUTTON>
</BODY></HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top