Ali,

You will need to inspect the code on the
"/dampezeshki_final/dog/DogBreed_LargImage_1.cfm" page to see how the image
is being generated.  I would assume something like...
<img src="/dampezeshki_final/dog/breedimages/#url.DogBreedID#">
Or
<img src="#DogBreed_Description.DogBreedImageFull#">

Once you have determined how the image location and name is determined, then
you would just put that code into the lightbox (heavybox, homegrown-box,
etc) code as the image to display onclick.

Hope this helps,
William

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer / ColdFusion Programmer
http://William.Seiter.com
-----Original Message-----
From: Ali [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 13, 2008 11:42 PM
To: CF-Talk
Subject: Re: opening a new windows, a browser problem!

On 2/14/08, Azadi Saryev <[EMAIL PROTECTED]> wrote:
> there are a whole bunch of 'boxes' out there: thickbox, greybox,
hoverbox...
>
> i highly recommend trying jQuery library if you have not tried it yet -
> it makes life in general and js coding in particular very easy and fun.
> added bonus is the jQuery Lighbox:
> http://leandrovieira.com/projects/jquery/lightbox/
> and extra added bonus is the CFJQ LIghtbox custom tag:
> http://www.andreacfm.com/blog/post.cfm/cfjq-lightbox-gallery-custom-tag
>
> ---
> Azadi Saryev
> Sabai-dee.com
> http://www.sabai-dee.com

LightBox and Jquery are great the only problem I have with them is
that thay work on an image. I mean this code if what LightBox expect
me to work on
<a href="image1.jpg"><img src="thumb_image1.jpg" width="72"
height="72" alt="" /></a>
while my link is a dynamic one something like this
<a
href="/dampezeshki_final/dog/DogBreed_LargImage_1.cfm?DogBreedID=<cfoutput>#
DogBreed_Description.DogBreedID#</cfoutput>"
target="_blank"><img
src="<cfoutput>#DogBreed_Description.DogBreedImageS1#</cfoutput>"
border="0" /></a>

How can I make it work? DogBreed_LargImage_1.cfm is the page that I
show the image filtering the images by DogBreedID while I really don't
know how to customize my CF code to make it work with LightBox.
Please help
Thanks
Benign



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298972
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to