*whistles*

I hope no one see my reply :OS

*whistles*

-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 06 February 2008 16:49
To: CF-Talk
Subject: RE: stupid cfscript/javascript question


Call it inline

<li>My list item<script
type="text/javascript">myFunctionCall();</script></li>

Nothing to do with your problem, but check out jQuery if you want an easier
life with JS.

Adrian

-----Original Message-----
From: Scott Stewart
Sent: 06 February 2008 16:43
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)




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:298340
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