I have the following Test that I want to show on the website. But because
the text is a href i an getting errors.

I tried to use use the HTMLCodeFormat# in the cfoutput tags.

Text:

<a href="#"onclick="return
window.open('#ServerType#://#cgi.server_name#/#RootFolder#/Int3Launch4.cfm?&C=1019&NoEncode=1','ServiceWindow','toolbar=no,status=no,scro
llbars=no,resizable=no,width=575,height=445,screenX=100,screenY=50,left=100,to
p=50')" language="javascript"><font face="verdana,arial,helvetica" size="-1"
class="tickets" color="##000066"><img
src="#ServerType#://#cgi.server_name#/#RootFolder#/2001/images/LP_default_button.gif"
width="152" height="52" alt="" border="0"></a>


The following are parameters, that will show actual values on the web page:
#ServerType#
#cgi.server_name#
#RootFolder#



Here is the code that i have on my page:

<cfoutput>#HTMLCODEFORMAT('<!-- Begin Secure Customer Center --->
<a href="#"onclick="return window.open
('#ServerType#://#cgi.server_name#/#RootFolder#/Int3Launch4.cfm?&C=#CompanyID#
&Page=Home&NoEncode=1','ServiceWindow','toolbar=no,status=no,scrollbars=no,
resizable=no,width=575,height=445,screenX=100,screenY=50,left=100,top=50')"lan
guage="javascript">
<img
src="#ServerType#://#cgi.server_name#/#RootFolder#/2001/images/LP_default_button.gif"
width="152" height="52" alt="Secure Email by PCImail" border="0"></a>
<!---End Secure Customer Center --->')#
</cfoutput>

Any help would be great..

Basically i need to show the code on a website so my customers can take the
code and use it on their site based on the parameters for them.

-- 
Asad H Khan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281943
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to