%@ LANGUAGE = "VBScript" %> <% Dim thisFilename thisFilename = "TrailWork_2006_06_03_Photos.asp" Dim rows, columns, index, imgCnt index = -1 rows = 2 columns = 3 imgCnt = 6 Dim imgFilename() Dim imgDirectory imgDirectory = "photos/2006_06_03_TrailWork/" ReDim imgFilename(imgCnt) imgFilename(0) = "IMG_0067.jpg" imgFilename(1) = "IMG_0068.jpg" imgFilename(2) = "IMG_0070.jpg" imgFilename(3) = "IMG_0071.jpg" imgFilename(4) = "IMG_0072.jpg" imgFilename(5) = "IMG_0073.jpg" Dim imgText() ReDim imgText(imgCnt) imgText(0) = "Rob" imgText(1) = "Sandy" imgText(2) = "Fred" imgText(3) = "Matt" imgText(4) = "Dan" imgText(5) = "Steve" If Request.QueryString("index").Count = 1 Then index = Request.QueryString("index") End If %>
| New Trail at Bradley Palmer / Willowdale Mill - June 3rd, 2006 | |
|
| <% Dim prevLink Dim prevIndex prevIndex = index - 1 If prevIndex < 0 Then prevIndex = imgCnt - 1 End If prevLink = "<Prev | " Response.Write prevLink %>
<%
Dim thumbsLink
thumbsLink = ""
Response.Write thumbsLink
%>
|
<% Dim nextLink Dim nextIndex nextIndex = index + 1 If nextIndex >= imgCnt Then nextIndex = 0 End If nextLink = "Next> | " Response.Write nextLink %>