<% //-------------------------------------------------- // Source: attic.jsp // // Date: 18 December 2005 // // Description: Display a series of pictures // and descriptions which are stored in // an array. // // // TO CONVERT TO ANOTHER SET OF PICTURES // - Copy, and rename "attic.jsp" // - Rename the data array "attic_data.jsp" // - Copy, and rename "attic_index.jsp" // - Rename the data array "attic_data.jsp" // - Copy and rename "attic_data.jsp" // - Rename the Miscellaneous Information // - Build new pictures // - Rename pictures, titles, & descriptions //-------------------------------------------------- %> <% //-------------------------------------------------- // Include An Array of Pictures & Descriptions //-------------------------------------------------- %> <%@ include file="attic_data.jsp" %> "<%= title %>"
" border="2"> <%= pictures[Integer.parseInt(request.getParameter("currpic"))][1] %>
<%= pictures[Integer.parseInt(request.getParameter("currpic"))][2] %>

<% if (Integer.parseInt(request.getParameter("currpic")) > 0) { out.println("" + "Previous | " ); } else { out.println("Previous | " ); } if ((Integer.parseInt(request.getParameter("currpic")) + 1) < pictures.length) { out.println("" + "Next" ); } else { out.println("Next" ); } %>

Back to Beginning | Index | Back to Gallery
Comments | Kris & Doug's Home Page | Kris' Page | Doug's Page | Site Map