Thanks for the reply,
I've attached the html code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/inner.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled</title>
<!-- InstanceEndEditable -->
</style>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/inner.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href="css/win_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<link href="css/tables.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="SpryAssets/SpryData.js"></script>
<script type="text/javascript" src="SpryAssets/SpryCSVDataSet.js"> </script>
<!--<script type="text/javascript" src="SpryAssets/SpryPagedView.js"></script>-->
<script language="JavaScript" type="text/javascript">
<!--
var pageOffset = 0;
var pageSize = 10;
var pageStop = pageOffset + pageSize;
var dsHospPrivate = new Spry.Data.CSVDataSet("data/HospPrivate.csv", { filterFunc: MyPagingFunc, sortOnLoad: "Name", sortOrderOnLoad: "ascending" });
var dsHospPublic = new Spry.Data.CSVDataSet("data/HospPublic.csv", { filterFunc: MyPagingFunc, sortOnLoad: "Name", sortOrderOnLoad: "ascending" });
function MyPagingFunc(ds, row, rowNumber)
{
if (rowNumber < pageOffset || rowNumber >= pageStop)
return null;
return row;
}
function UpdatePage(offset)
{
var numRows = dsHospPrivate.getUnfilteredData().length;
if (offset > (numRows - pageSize))
offset = numRows - pageSize;
if (offset < 0)
offset = 0;
pageOffset = offset;
pageStop = offset + pageSize;
// Re-apply our non-destructive filter on dsStates1:
dsHospPrivate.filter(MyPagingFunc);
}
function UpdatePage2(offset)
{
var numRows = dsHospPublic.getUnfilteredData().length;
if (offset > (numRows - pageSize))
offset = numRows - pageSize;
if (offset < 0)
offset = 0;
pageOffset = offset;
pageStop = offset + pageSize;
// Re-apply our non-destructive filter on dsStates1:
dsHospPublic.filter(MyPagingFunc);
}
-->
</script>
<!--<script type="text/javascript" src="js/striped_table.js"></script>-->
<!-- InstanceEndEditable -->
</head>
<body>
<div id="fullWidthHeader"></div>
<div id="outerWrapper">
<div id="branding">
<p>Affordable accomodation for the healthcare professional </p>
<div id="nav_main">
<h2>Site areas</h2>
<ul>
<li id="nav_home"><a href="index.php">Home</a></li>
<li id="nav_about"><a href="about.php">About us</a></li>
<li id="nav_fees"><a href="fees.php">Fee structure</a></li>
<li id="nav_packages"><a href="welcome_packs.php">Welcome packs</a></li>
<li id="nav_directory"><a href="directory.php">Hospital directory</a></li>
<li id="nav_area"><a href="local_area.php">Local area</a></li>
<li id="nav_"><a href="location_map.php">Location map</a></li>
<li id="nav_contact" class="last"><a href="contact.php">Contact</a></li>
</ul>
</div>
</div>
<!-- InstanceBeginEditable name="Inner_content" -->
<div id="content_inner">
<h2 id="hospital_directory">Hospital directory</h2>
<div id="privRegion" spry:region="dsHospPrivate">
<h3><a name="anchor_priv" id="anchor_priv"></a>Private Hospitals </h3>
<p>
<input type="button" value="Prev" onclick="UpdatePage(pageOffset - pageSize);" />
<input type="button" value="Next" onclick="UpdatePage(pageOffset + pageSize);" />
</p>
<table id="private" cellpadding="0" cellspacing="0" summary="A list of private hospitals">
<caption>Private Hospital List </caption>
<thead>
<tr>
<th id="name" scope="col" spry:sort="Name"><a href="#">Name</a>
</th>
<th id="address" scope="col">Address</th>
<th id="suburb" scope="col" spry:sort="Suburb"><a href="#">Suburb</a>
</th>
<th scope="col" class="centre">State
</th>
<th scope="col" class="centre">Postcode</th>
<th scope="col">Phone</th>
<th scope="col">Fax</th>
</tr>
</thead>
<tbody>
<tr spry:repeat="dsHospPrivate" spry:even="dsHospPrivate other" >
<td>{Name}</td>
<td>{Address}</td>
<td>{Suburb}</td>
<td class="centre">{State}</td>
<td class="centre">{Postcode}</td>
<td>{Phone}</td>
<td>{Fax}</td>
</tr>
</tbody>
</table>
</div>
<div id="pubRegion" spry:region="dsHospPublic">
<h3><a name="anchor_pub" id="anchor_pub"></a>Public Hospitals </h3>
<p>
<input type="button" value="Prev" onclick="UpdatePage2(pageOffset - pageSize);" />
<input type="button" value="Next" onclick="UpdatePage2(pageOffset + pageSize);" />
</p>
<table id="public" cellspacing="0" summary="A list of public hospitals">
<caption>Public Hospital List </caption>
<thead>
<tr>
<th id="name" scope="col" spry:sort="Name"><a href="#">Name</a>
</th>
<th id="address" scope="col">Address</th>
<th id="suburb" scope="col" spry:sort="Suburb"><a href="#">Suburb</a>
</th>
<th scope="col" class="centre">State
</th>
<th scope="col" class="centre">Postcode</th>
<th scope="col">Phone</th>
<th scope="col">Fax</th>
</tr>
</thead>
<tbody>
<tr spry:repeat="dsHospPublic" spry:even="dsHospPublic other" >
<td>{Name}</td>
<td>{Address}</td>
<td>{Suburb}</td>
<td class="centre">{State}</td>
<td class="centre">{Postcode}</td>
<td>{Phone}</td>
<td>{Fax}</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- InstanceEndEditable --><div id="clearfooter"> </div> </div>
<div id="fullWidthFooter"><p id="site_info">© 2009. All rights reserved. <a href="terms_conditions.php">Terms and conditions</a> | <a href="privacy_policy.php">Privacy policy</a> | <a href="contact.php">Contact Us </a></p></div>
</body>
<!-- InstanceEnd --></html>
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217:





by: sah18Posted on 2009-11-01 at 09:51:22ID: 25714566
Could you also provide your html file?