I've got most of this working.  I'm just having a hard time getting the cf 
variables
to parse out when naming the javscript function.  Everything works fine except
when I try and wrap a cf variable around the function name.  Any ideas? Thanks.

Also can anyone recommend a good way to troubleshoot Javascript errors? 
IE is such a big help. Not!  LOL.  Thanks.


<CFLOOP query="get_cand">
<cfquery name="GET_PARTYNAME" datasource="#datasource#">
SELECT *
FROM tbl_flavor_party
WHERE FLV_PARTY_ID = #get_cand.FLV_PARTY_ID#
</cfquery>
<cfset COUNT = (COUNT + 1)>
<cfset htmlcontent = "htmlcontent#COUNT#">   
<cfset showWindow = "showWindow#COUNT#"> 
   <script type="text/javascript" language="javascript">
   <cfoutput>#toScript(htmlcontent1,"html")#</cfoutput>
   
function <cfoutput>#showWindow#</cfoutput>() {   

      var win = new Ext.Window({
         width:400,
         height:400,
         title:"<cfoutput>#GET_PARTYNAME.FLV_PARTY# - 
#get_cand.FLV_FLAVOR#</cfoutput>",
         autoScroll:true,
         modal:true,
         html:html,
         animateTarget:"btnHello"
      });
      win.show();
   }   
   </script>
 </CFLOOP>

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