[jsword-svn] r1798 - trunk/jsword-web/src/web/iBD

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Thu Apr 17 06:24:33 MST 2008


Author: dmsmith
Date: 2008-04-17 06:24:33 -0700 (Thu, 17 Apr 2008)
New Revision: 1798

Modified:
   trunk/jsword-web/src/web/iBD/tutorial.html
Log:
xhtml bug fix in iBD tutorial

Modified: trunk/jsword-web/src/web/iBD/tutorial.html
===================================================================
--- trunk/jsword-web/src/web/iBD/tutorial.html	2008-04-17 12:05:31 UTC (rev 1797)
+++ trunk/jsword-web/src/web/iBD/tutorial.html	2008-04-17 13:24:33 UTC (rev 1798)
@@ -104,24 +104,24 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
     <-- JSword.js is auto-generated by DWR via dwr.xml -->
-    &lt;script type='text/javascript' src='dwr/interface/JSword.js'></script>
+    &lt;script type='text/javascript' src='dwr/interface/JSword.js'>&lt;/script>
 
     &lt;-- engine.js and util.js are dug out of the dwr.jar -->
-    &lt;script type='text/javascript' src='dwr/engine.js'></script>
-    &lt;script type='text/javascript' src='dwr/util.js'></script>
+    &lt;script type='text/javascript' src='dwr/engine.js'>&lt;/script>
+    &lt;script type='text/javascript' src='dwr/util.js'>&lt;/script>
 
     &lt;-- Bring in the ability to transform OSIS XML into HTML in the user's Web Browser. -->
-    &lt;script type='text/javascript' src='sarissa.js'></script>
+    &lt;script type='text/javascript' src='sarissa.js'>&lt;/script>
 
     &lt;-- Bring in our JavaScript and CSS StyleSheet -->
-    &lt;script type='text/javascript' src='tutorial.js'></script>
+    &lt;script type='text/javascript' src='tutorial.js'>&lt;/script>
     &lt;link rel="stylesheet" type="text/css" href="tutorial.css"/>
   &lt;/head>
   &lt;body onload="init()">
 
     &lt;!-- The dropdown for books, in this case Bibles, starts out empty -->
     &lt;div id="bibleBox">
-      &lt;select id="pick" onchange="pick();"></select>
+      &lt;select id="pick" onchange="pick();">&lt;/select>
     &lt;/div>
 
     &lt;!-- A text entry and a button both call locate -->
@@ -231,7 +231,7 @@
 {
   var book = getBook();
   var ref  = getPassage();
-  if (book && ref)
+  if (book &amp;&amp; ref)
   {
     // Get the OSIS representation from the book for the reference
     // But limit the number of verses
@@ -249,7 +249,7 @@
 {
   var book   = getBook();
   var search = getSearch();
-  if (book && search)
+  if (book &amp;&amp; search)
   {
     // Get the reference for the search
     // and asynchrounously load it in to the locate box




More information about the jsword-svn mailing list