--- a/busui/routeList.php +++ b/busui/routeList.php @@ -10,7 +10,7 @@ </ul> </div> '; -echo ' <ul data-role="listview">'; +echo ' <ul data-role="listview" data-inset="true">'; $url = $APIurl."/json/routes"; $contents = json_decode(getPage($url)); debug(print_r($contents,true)); @@ -66,7 +66,7 @@ $routeDestinations[$row[2]][] = $row; } echo '<div class="noscriptnav"> Go to Destination: '; - foreach($routeDestinations as $destination => $routes) + foreach(ksort($routeDestinations) as $destination => $routes) { echo "<a href=\"#$destination\">$destination</a> "; }