To call the lightbox, i have to add this:
Expand|Select|Wrap|Line Numbers
- <a href="stairs.jpg" rel="lightbox">text</a>
here is the code for the page:
Expand|Select|Wrap|Line Numbers
- <%
- If IsArray(varImageAry) Then
- lngMaxIndex = UBound(varImageAry, 2)
- Response.Write("<TABLE>")
- For lngIndex = 0 To lngMaxIndex
- lngImageID = varImageAry(0, lngIndex)
- strTitle = varImageAry(1, lngIndex)
- strDescription = varImageAry(2, lngIndex)
- If Not Len(strTitle) = 0 Then strTitle = Server.HTMLEncode(strTitle)
- If Not Len(strDescription) = 0 Then strDescription = Server.HTMLEncode(strDescription)
- Response.Write("<TR>")
- Response.Write("<TD valign=""top"">")
- Response.Write("<IMG src=""image.asp?ImageID=" & lngImageID & """ width=""100"" border=""1"">")
- Response.Write("</TD>")
- Response.Write("<TD valign=""top"">")
- Response.Write("<A href=""image.asp?ImageID=" & lngImageID & """><B>" & strTitle & "</B></A><BR>")
- Response.Write(strDescription)
- Response.Write("</TD>")
- Response.Write("</TR>")
- Next
- Response.Write("</TABLE>")
- Else
- Response.Write("No images are present in this category.")
- End If
- %>