Karim
|
| Posted: 04/16/2003, 9:16 AM |
|
I would like to make an image popup a window with a querystring dynamicly added to the end of the image popup link.
For example:
image link with ID={ID} grabbed from the URL string.
it might look like view.asp?status=1&id=1234
What would be the best method using CCS 2?
Thanks,
Karim
|
|
|
 |
hamilton
|
| Posted: 04/17/2003, 12:48 PM |
|
Use a label field, and add code the BeforeShow Event.
Dim sImageID : sImageID = Request.Querystring("ID")
Dim sImageName : sImageName = "../images/imagename.gif"
Dim sValue : sValue = sImageName & "?ID=" & sImageID
oPageName.ImageLink.value = "<img height=""20"" src=""" & sImageName & """ width=""20"">"
|
|
|
 |
Karim
|
| Posted: 04/17/2003, 1:36 PM |
|
Hamilton, looks like this might work, I will try.
Thanks,
Karim
|
|
|
 |
hamilton
|
| Posted: 04/18/2003, 4:29 AM |
|
You'll also need to set the label to HTML instead of Text.
But you probably figured that out already.
|
|
|
 |
|