changeset 653:3e25f26b6a27

Some minor tweaks to the browser JS/HTML.
author mas01mj
date Thu, 15 Oct 2009 14:47:07 +0000
parents 1a251dd217c6
children 828c1c4e25cc
files examples/browser/web/index.html examples/browser/web/js/browser.js
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/examples/browser/web/index.html	Thu Oct 15 14:24:36 2009 +0000
+++ b/examples/browser/web/index.html	Thu Oct 15 14:47:07 2009 +0000
@@ -4,11 +4,13 @@
 <link rel="stylesheet" href="http://ontologyonline.org/css/blueprint/screen.css" type="text/css" media="screen, projection"/>
 <link rel="stylesheet" href="css/jOWL.css" type="text/css"/>
 <link rel="stylesheet" href="css/data_table.css" type="text/css"/>
-<link rel="stylesheet" href="css/jq/custom-theme/jquery-ui-1.7.custom.css" type="text/css"/>
+<link type="text/css" rel="stylesheet" href="css/jq/custom-theme/jquery-ui-1.7.custom.css"></link>
+
 
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>      
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/jquery-ui.min.js"></script>
 <script type="text/javascript" src="js/jquery.dataTables.js"></script>
+<script type="text/javascript" src="js/jquery.loading.js"></script>
 <script type="text/javascript" src="js/sparql.js"></script>
 <script type="text/javascript" src="js/jOWL.js"></script>
 <script type="text/javascript" src="js/jOWL_UI.js"></script>
--- a/examples/browser/web/js/browser.js	Thu Oct 15 14:24:36 2009 +0000
+++ b/examples/browser/web/js/browser.js	Thu Oct 15 14:47:07 2009 +0000
@@ -50,7 +50,7 @@
 	
 	if(artistSearchString.length > 0)
 	{
-		queryString += ' FILTER regex(?artist_name, "'+artistSearchString+'", "i")';
+		queryString += ' FILTER regex(?artist_name, "^'+artistSearchString+'", "i")';
 	}
 	else
 	{
@@ -61,7 +61,7 @@
 
 	if(trackSearchString.length > 0)
 	{
-		queryString += ' FILTER regex(?track_title, "'+trackSearchString+'", "i")';
+		queryString += ' FILTER regex(?track_title, "^'+trackSearchString+'", "i")';
 	}
 	else
 	{