Popup window asp/javascript
- Started
- Last post
- 7 Responses
- agentfour
Ive been using an image popup script which enables me to have just one empty html file to hold a large image which resizes automatically to the dimensions of the image when it opens. The site is now hosted elsewhere that doesnt support asp, which means the query string for the filename does not work. I am by no means a programmer and this script was taken from somewhere else. Can anyone help me with a way to use this same script however calling the image a different way?
this is the link which is on a thumbnail.
showpic.html is a blank file which holds the image.<a href="javascript:popUp('showpic.html?Image=images/Chad_01_big.jpg')"><img src="images/Chad_01_small.jpg" width="182" height="121" border="0"></a>
any help would be massively appreciated.
- agentfour0
oh and this is the script in the empty popup window
<td align="center" valign="top" bgcolor="#FFFFFF"><img src="<%=request.querystring("Image")%>" /></td>anyone??
- flavorful0
Tables, and pop-ups ... my G-d man. What are you thinking?!
- flavorful0
Lightbox:
http://www.huddletogether.com/pr…Thickbox:
http://jquery.com/demo/thickbox/…
- agentfour0
is there anything like lightbox which has a next and back button?
- van_rijn0
can do a php string. ehem asp string that counts the images in a dir
- flavorful0
I like Thickbox a lot more, and you can do Image Galleries with it.
- agentfour0
cheers flavor......think ill give thickbox a whirl