Hello All,
When displaying a .pdf file can that be accomplished by "calling" it from a
button or does it have to be "called" from a image - .jpg for instance?
The below is page 13 of my web sit. As you can see it calls page 14 or page
15
<CFIF FileExists(ExpandPath("./Images/#Trim(Session.Client_ID)##Trim(Session
Insured_ID)#2.jpg"))>
<INPUT Type="button" Value="View Certificate - page 1 of 2" Name=
Search1" onClick="window.location='http:\CVS3WP14.CFM'">
<INPUT Type="button" Value="View Certificate - page 2 of 2" Name=
Search1" onClick="window.location='http:\CVS3WP15.CFM'">
<CFELSE>
<INPUT Type="button" Value="View Certificate - page 1 of 1" Name=
Search1" onClick="window.location='http:\CVS3WP14.CFM'">
</CFIF>
Page 14 is now coded as:
<CFOutPut>
<a href="Page 1"><font size="2" face="Arial"><strong>"/Images/#Trim(Session
Client_ID)##Trim(Session.Insured_ID)#1.pdf"</strong></font></a>
</cfoutput>
It displays the code not the image. What am I doing wrong? TIA.
Paige
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4