<!—<cfset TXTPath = ExpandPath("/client/client_pages/ArticleText/ReadReflect.txt")>
<cffile action="read"
    file="#TXTPath#"
    variable="article">
<cfif CGI.SCRIPT_NAME contains "/index.cfm">
    <cfoutput>
        <cfset articleTrunc = Left(article, 350)>
            #articleTrunc#…
        <cfset articleTrunc = ‘
                        <div class="expanderHeadText">
                            <!—<img id="imagechange" src="#application.site.PWROOT#/client/client_images/readmore.gif" alt="Expand for more info" border="0">—>
                        <div class="readmore">    <a title="show/hide" style="cursor:hand;" id="exp1088095638_link" href="#application.site.PWROOT#/client/client_pages/Read_Reflect_Pray.cfm">Read More</a></div>
                        </div>
                        <div id="exp1088095638" class="childExpander" style="display:none">
                            <div class="description">#articleTrunc#</div>       
                    </div>’>
                    #articleTrunc#
</cfoutput>

<cfelse>
<cfoutput>
<br>
<br>
<h1>Title</h1>
<img src="/client/client_images/template/ctnr_hr.gif" alt="horizontal rule">
<div id="article">#article#</div>
</cfoutput>

</cfif>—>

Posted on March 12th, 2009 | filed under ColdFusion, PowerWeb | Trackback |

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">