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….

 

sas

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

4405 Oakshyre Way

Raleigh, NC. 27616

(919) 874-6229 (home)

(703) 220-2835 (cell)

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.20/1260 - Release Date: 2/5/2008
9:44 AM
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:253443
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to