> >There is a combination effect called Fade also:
> >
> >you could slim that whole thing down to
> >
> >$('updateMessage').fade({duration: 1.5})
> >
> >
> >On Aug 7, 2008, at 8:14 AM, Joel Polsky wrote:
> >
> >>
> That didn't seem to work. Here's the code involved:
> function fadeout(){
>       $('updateMessage').fade({duration: 1.5})            
> }
> </script>
> <div id="updateMessage">
   
> <a id="closeme" href="#" onclick="fadeout();">Close Me.</a>                   
>          
> </div> 
OK here's the soltion, if anyone cares (I do appreciate the help and appreciate 
it when folks post the solution instead of just saying it's fixed.)

function fadeout(){
 Effect.Fade('updateMessage', {duration:1.0})   
}

<div id="updateMessage">
 <a id="closeme" href="#" onclick="fadeout();">Close Message</a>
</div>

Thanks!
Joel
-- Sometimes life is difficult, then there's Javascript! 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:265544
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to