CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Dynamic links using images

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.