|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Open Browser Window w/Different Images
I have a commercial flooring website that has approx. 70 job photos. I want to list each photo as a thumbnail that can be clicked to see the larger photo in a new window (open Browser Window). I also want a small .gif at the bottom of the new window that says "Close Window" that can be clicked to close the new window.
I don't know how to create the window and what code to use on the photos page without creating a new page for each photo. Can someone help? I have researched using a database and using ASP but I don't know where to begin. Thanks! |
|
#2
|
||||
|
||||
|
1) Create an asp page like this: (call it photos.asp for example)
<html> <title>Your Title</title> <head> </head> <body> <img src="<%=Request.Querystring("photo")%>"> <br><br> <a href="javascript:self.close();"><img src="closeme.gif"></a> </body> </html> Then call this page like this: <a href="photos.asp?photo=1000.jpg" target="_blank"><img src="thumbnail1000.gif"></a> Last edited by dcarva : January 20th, 2004 at 11:55 PM. |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Open Browser Window w/Different Images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|