<cfset arguments.pagename = ReplaceNoCase(trim(arguments.pagename), '/', '')>
                                <cfset pagelist = 
"page1.cfm,page2.cfm,page3.cfm,page4.cfm">    
                                <cfoutput>
                                        <table align="center">
                                                <cfset stepCounter = 0>
                                                <cfloop list="#pagelist#" 
index="i">
                                                        <cfset stepCounter = 
stepCounter +1>
                                                        <cfif 
arguments.pagename EQ "#trim(i)#">
                                                                <cfset 
styleclass = "StyleClass1">
                                                        <cfelse>
                                                                <cfset 
styleclass = "StyleClass2">
                                                        </cfif>
                                                                <tr>
                                                                        <td 
class="#styleclass#" nowrap>Step #stepCounter#: </td><td class="#styleclass#" 
nowrap>#getCustomPageContent('#arguments.info#', '#i#').title#</td>
                                                                </tr>
                                                </cfloop>
                                        </table>
                                </cfoutput>     

I have like 4 pages any trying to hightlight the active page or the present 
page.
I am sucessful in doing so but what if I really wanted to skip page3.cfm from 
the table if
I am not visiting it. And also wanted to stay the highlight on page2.cfm even if
I visit page3.cfm i.e.. page3.cfm is my active page.
Thanks, 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319405
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