<li>#show_new(value)#</li> 

-----Original Message-----
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 06, 2008 10:43 AM
To: CF-Talk
Subject: stupid cfscript/javascript question

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-Talk/message.cfm/messageid:298337
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