[sword-svn] r184 - trunk

scribe at crosswire.org scribe at crosswire.org
Mon Dec 6 13:21:01 MST 2004


Author: scribe
Date: 2004-12-06 13:21:01 -0700 (Mon, 06 Dec 2004)
New Revision: 184

Modified:
   trunk/passagestudy.jsp
Log:
Added Next/Previous chapter mechanism to bottom of passage display so 
when finished reading a chapter, one does not need to scroll up to the top
to jump to the next chapter.


Modified: trunk/passagestudy.jsp
===================================================================
--- trunk/passagestudy.jsp	2004-09-23 00:13:35 UTC (rev 183)
+++ trunk/passagestudy.jsp	2004-12-06 20:21:01 UTC (rev 184)
@@ -189,7 +189,7 @@
 	<tiles:put name="content" type="string">
 		<%
 			activeModule.setKeyText(activeKey);
-			activeKey = activeModule.getKeyText(); 	// be sure it's formatted nicely
+			activeKey = activeModule.getKeyText(); 	// be sure it is formatted nicely
 		%>
 
 		<div id="passagestudy">
@@ -287,6 +287,11 @@
 				promoLine = "";
 		%>
 		<div class="copyLine"><%= copyLine %></div>
+		<ul class="booknav">
+			<li><a href="passagestudy.jsp?key=<%= URLEncoder.encode(prevChapterString) %>" title="Display <%= prevChapterString %>">previous chapter</a></li>
+			<!-- <li><a href="" title="display all of Romans 8">this chapter</a></li> -->
+			<li><a href="passagestudy.jsp?key=<%= URLEncoder.encode(nextChapterString) %>" title="Display <%= nextChapterString %>">next chapter</a></li>
+		</ul>
 		<div class="promoLine"><%= promoLine %></div>
 		</div>
 	</tiles:put>



More information about the sword-cvs mailing list