Looks like you need to use single quotes instead of double. It is most likely
taking the double quotes as string values
"Success is a journey, not a destination!!"
Doug Brown
----- Original Message -----
From: "Mario Martinez R." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 12:29 PM
Subject: writing code dinamically
> Hi friends:
> Down there is the code that is eating my brain.
> If I take out the piece:
> It goes better. The inclusion of anything between
> <script> </script> is what is bringing me troubles.
> Basically what I 'm doing is writing dinamically
> javascript code in another frame.
> Any ideas ??
> Thank you in advance friends.
> Mario
>
>
> <!---The mad piece of code--->
> <CFCASE VALUE="findNoWholeNoSens">
> <CFOUTPUT>
> <script>
>
> parent.catalogs.document.write("<html><head><link
> rel=\"stylesheet\" type=\"text/css\"
> href=\"styles/framestyle.css\"> <script> function
> changeImages(){for (var i=0;
> i<changeImages.arguments.length;
> i+=2){document[changeImages.arguments[i]].src =
> changeImages.arguments[i+1];}}</script> <title>Search
> for</title></head> "+
> "<body> " +
>
> " <TABLE BORDER=0 > "+
> " <TR> "+
> " <TH COLSPAN=2> "+
> " <H1>Matches</H1> "+
>
> " </TH> "+
> " <TD > " +
> " <A
> HREF=\"Javascript:parent.top.window.history.go(-1);\"
> "+
> " ONMOUSEOVER=\"changeImages(\'menu_buttons_03\',
> \'images/menu_buttons_03-over.gif\'); return true;\"
> "+
> " ONMOUSEOUT=\"changeImages(\'menu_buttons_03\',
> \'images/menu_buttons_03.gif\'); return true;\"> "+
> " <IMG NAME=\"menu_buttons_03\"
> SRC=\"images/menu_buttons_03.gif\" WIDTH=138 HEIGHT=40
> BORDER=0></A></TD> "+
>
> " </TR> " );
> </CFOUTPUT>
> <CFOUTPUT QUERY="coursesinfo">
> <CFIF #FindNoCase(SearchString,name, 1)# IS
> NOT 0 >
> <cfif IsNumeric(idurlcourses)>
>
> parent.catalogs.document.write(" <TR> "+
> " <TD> "+
>
>
> " <A
> HREF=\"detailsandsignup.cfm?parkey1=#myArray[idurlcourses]#&parkey2=#id#\"
> target=\"_top\"> "+
> " <img NAME=\"NWNS\" border=\"0\"
> ONMOUSEOVER=\"this.src=\'images/shortcut.gif\'; return
> true;\" "+
> "
> ONMOUSEOUT=\"this.src=\'images/130.gif\'; return
> true;\" "+
> "
> src=\"images/130.gif\">"+
> " </A>"+
> " </TD>"+
> " <TD>"+
> " <A
> HREF=\"detailsandsignup.cfm?parkey1=#myArray[idurlcourses]#&parkey2=#id#\"
> target=\"_top\"> #name# </A>"+
> " <CFSET MATCHES=TRUE >"+
> " </TD> "+
> " </TR> ");
> </cfif>
> </CFIF>
> </CFOUTPUT>
>
> <CFIF #MATCHES# IS FALSE >
> <cfoutput>
> parent.catalogs.document.write("<TR> <TD> "+
> " No matches!!! "+
> " </TD> "+
> " </TR> ");
> </cfoutput>
> </CFIF>
> <cfoutput>
> parent.catalogs.document.write(" </TABLE>
> </body> </html>");
> parent.catalogs.document.close();
> </script>
> </cfoutput>
>
> </CFCASE>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias.
> Vis�tanos en http://noticias.espanol.yahoo.com
>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists