Has anyone seen a tutorial on a resizable flash ad like the ones that yahoo
or msnbc do from time to time

Basically i want it to go from a 225x225 to a 75x125 or so. 

The ad will sit on a CF site so I guess its not that far off topic...

Thanks

Sean

-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 4:22 PM
To: CF-Talk
Subject: Re: dumb question client variables


>hi there.
>
>If I wanted to remove the value of a client variable I have set for a
>particular user, lets just say, emailAddress, and they check a checkbox
>that says, Forget my email address, would the best way to do that, be
>to have this code...
>
><cfset client.EmailAddress = "">
>
>to just zero the value out?

Not entirely sure what you're trying to do, but why not use 
DeleteClientVariable("EmailAddress") to delete that particular client 
variable? This has the added benefit (albeit minimal) of one less client 
variable CF needs to return with every page request. Then just do an 
IsDefined("client.EmailAddress") to check for that particular client 
variable when you need to.

Alternatively, you can indeed just do <cfset client.EmailAddress = ""> in 
your code to "null" out the value for that client variable, and then just do

a <cfif Len(client.EmailAddress)> to check for a value.

>
>brain fartage on a stinkin cold rainy Wednesday!!!!!!!!

Hey, it could be worse. It's snowing here!! (New York City)

Regards,
Dave.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to