Bill,
To Andy's and Will's suggestion, here's a css that might help you:

<style>
..transpOn {
        filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6; margin:;}
..transpOff {
        margin: 0px;}
</style>


<a href="your_link"><img class="transpOn"
onmouseover="this.className='transpOff'"
onmouseout="this.className='transpOn'" src="your_image" title="your_title"
border="0"></a>

Hth!

Michael





> -----Original Message-----
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 20, 2007 10:37 AM
> To: CF-Talk
> Subject: RE: Fading images with ajax
> 
> Depending on how many images you have, that could get a little intensive
> for
> the user's browser. Might be better to start with the images at 70% and
> fade
> the selected image IN to 100%. That way you're only affecting one image as
> opposed to 10 or 15.
> 
> -----Original Message-----
> From: Bill Betournay [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 20, 2007 12:02 PM
> To: CF-Talk
> Subject: Fading images with ajax
> 
> Hi All
> 
> I'm wondering if anyone knows of a way too or if it's possible with the
> new
> Ajax features in CF8 to fade all images except the one that is selected.
> 
> Here's what mean.
> I have a loop of images outputting. All the image I need to display
> initially with a opacity of 100% but when the user mouse's over one of the
> images I need all other images to fade to 80 or 90%.
> 
> I've found several ways to fade the selected image but I can't figure out
> any way of fading the images that are not selected.
> 
> It has to be CF and not Flex.
> 
> Thanks
> 
> Bill
> 
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to