#show_new(dt)#
On Feb 6, 2008 8:00 AM, Scott Stewart wrote:
> I've completely forgotten how to do this
.
>
>
>
> I have this script
>
>
>
> <cfscript>
>
> function show_new(dt)
>
> {
>
> if(DateDiff("d",dt,Now()) LT 30)
>
> { return '<font color="red">New!</font>'; };
>
>
>
> return '';
>
> }
>
> </cfscript>
>
>
>
>
>
>
>
> I need to call it inside a <li> tag
>
> <li style="list-style-type:square; margin-left:-18px; margin-right: 8px;"
> >
>
>
>
> How do I do this
.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Community/message.cfm/messageid:253494
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5