Trevor
|
| Posted: 05/17/2005, 11:31 PM |
|
What I want to do is have a grid of products and the last column would
contain a link to a picture of the specific product. On clicking the
link, a popup would appear with the picture.
I presume that I should have a link to a picture table in the products
table. The picture table would have an id and the url to the specific
picture e.g. ../assets/images/db_images/db_Bottle_stopper.jpg. So far so
good ...... I think?
If anyone can tell me if I am correct in the above and then shed some
light on the popup window and how to implement it I would be very grateful!
best regards,
Trevor
|
|
|
 |
Trevor
|
| Posted: 05/18/2005, 9:51 PM |
|
Trevor wrote:
> What I want to do is have a grid of products and the last column would
> contain a link to a picture of the specific product. On clicking the
> link, a popup would appear with the picture.
>
> I presume that I should have a link to a picture table in the products
> table. The picture table would have an id and the url to the specific
> picture e.g. ../assets/images/db_images/db_Bottle_stopper.jpg. So far so
> good ...... I think?
>
> If anyone can tell me if I am correct in the above and then shed some
> light on the popup window and how to implement it I would be very grateful!
>
> best regards,
> Trevor
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 05/19/2005, 5:02 AM |
|
Trevor,
I think you’re on the right way. You need to pass image ID to a second page that contains a grid/record form that is filtered on passed image ID.
Just in case, pop up window sample code could be found in this CCS example http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php
_________________
Regards,
Nicole |
 |
 |
Trevor
|
| Posted: 05/20/2005, 8:58 PM |
|
Nicole wrote:
> Trevor,
> I think you’re on the right way. You need to pass image ID to a second page
> that contains a grid/record form that is filtered on passed image ID.
> Just in case, pop up window sample code could be found in this CCS example
> http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php
>
> _________________
> Regards,
> Nicole
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
Hi Nicole,
Thank you for this. I will get the popup info from the example you gave
but I am still having a bit of a hassle trying to put the link into the
grid. The column is going to display either the key integer or the 'url'
to the image picked up from the joined table. How do I make this column
a link and even better, how would I simply put 'see picture' into the
column which would then link to the picture when clicked?
Sorry to be such a pain but really need a guiding hand in this.
Regards,
Trevor
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 05/23/2005, 2:30 AM |
|
Trevor,
Just add CCS Link control to a grid form and configure it as described in Pop Up list example. To display "Show Image" text as Link on a live page put this text into Default Value property of a Link
_________________
Regards,
Nicole |
 |
 |
|