This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » ASP » thumbnail.asp?
Reply

thumbnail.asp?

Cassi Knight
Member



Since: 26 Jan 2010
Posts: 1
Posted 26 Jan 2010 18:58:39

I have a thumbnail.asp page that brings up images that I want a client to be able to double click and go to closeup.asp page where it would dynamically get the PID information. The thumbnail page loads up but when I am unable to double click and go to the closeup.asp page. Does anyone have any idea what I am missing?
Below is some of the code


from the thumbnail.asp page
QUERY PRODUCTS FOR SELECTED CATEGORY
sSQL = "select * from categories where parent_id = " + cstr(cid)
set rsSubCat = OpenRS(sSQL, globaldb)

Response.Write "<center><table border=0 cellpadding=0 cellspacing=0 width=""70%"" align=middle><tr><td align=middle>"
if not rsSubCat.eof then
Response.Write "<a href=""thumbnail.asp?cid=" & cstr(rsSubCat("ID") & """ class=leftnav>" + chknull(rsSubCat("Name", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + "</a> "
rsSubCat.movenext
do while not rsSubCat.eof
Response.Write "| <a href=""thumbnail.asp?cid=" & cstr(rsSubCat("ID") & """ class=leftnav>" + chknull(rsSubCat("Name", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + "</a> "
rsSubCat.movenext

I have a thumbnail.asp page that brings up images that I want a client to be able to double click and go to closeup.asp page where it would dynamically get the PID information. The thumbnail page loads up but when I am unable to double click and go to the closeup.asp page. Does anyone have any idea what I am missing?
Below is some of the code


from the thumbnail.asp page
QUERY PRODUCTS FOR SELECTED CATEGORY
sSQL = "select * from categories where parent_id = " + cstr(cid)
set rsSubCat = OpenRS(sSQL, globaldb)

Response.Write "<center><table border=0 cellpadding=0 cellspacing=0 width=""70%"" align=middle><tr><td align=middle>"
if not rsSubCat.eof then
Response.Write "<a href=""thumbnail.asp?cid=" & cstr(rsSubCat("ID") & """ class=leftnav>" + chknull(rsSubCat("Name", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + "</a> "
rsSubCat.movenext
do while not rsSubCat.eof
Response.Write "| <a href=""thumbnail.asp?cid=" & cstr(rsSubCat("ID") & """ class=leftnav>" + chknull(rsSubCat("Name", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + "</a> "
rsSubCat.movenext
Patrick Julicher
Official Representative



Since: 04 Feb 2002
Posts: 1,208
Replied 28 Jan 2010 00:12:05
Hi Cassi,

If possible, could you post a link to your page to have a look at?

Kind regards, Patrick

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency