I would use a tag and do it in fusebox. Also I would make a similar tag
around your navigation using CFASSOCIATE in a nested tag.  This would give
you a dynamic structure for your navigation and you can get rid of all the
messy td tags.  Also I would use html  DIV tags with pixel attributes to
make sure your tables are correctly aligned.  I am just to lazy to do all
that for you.  if you have any questions how all this works, I can always be
reached at 323-666-2136.  Well that is when I am answering my phone.

Hope this helps.  Make 4 templates and cut and paste the appropriate code in
each
<---app_globals.cfm--->
<cfparam name="content_data" default="">
<cfparam name="attributes.someattribute" default="">

<---index.cfm--->
<cfinclude template="app_globals.cfm">
<cfswitch expression="#attributes.someattribute#">
 <cfcase value="girls">
  <cf_act_designTKE content="girls">
   <cfinclude template="dsp_content_table.cfm">
  </cf_act_designTKE>
 </cfcase>
 <cfcase value="beer">
  <cf_act_designTKE content="beer">
  <cfinclude template="dsp_content_table.cfm">
  </cf_act_designTKE>
 </cfcase>
 <cfdefaultcase>
  <cf_act_designTKE content="home">
  <cfinclude template="dsp_content_table.cfm">
  </cf_act_designTKE>
 </cfdefaultcase>
</cfswitch>

<---cf_act_designTKE --->
<cfquery name="content_query" datasource="odbc" dbtype="ODBC">
select content_data
from content_table
where content = #attributes.content#
</cfquery>

<cfswitch expression="#thistag.executionmode#">
<!--- HEADER --->
  <cfcase value="start">

  <html>
  <head>
  <title>TKE</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  </head>

  <body bgcolor="#ffffff">
  <table>
   <TR>
    <TD colspan="2">
    <!-- Main Title Bar -->
     <IMG name="Title_Bar" src="images/Main_Banner.gif" width="610"
     height="90" alt="Welcome to Tau Kappa Epsilon" border="0">
    <!-- End Main Title Bar -->
    </TD>
   </TR>
   <TR>
    <TD>
     <IMG name="ID" src="images/ID_Box.gif" width="110" height="30"
     alt="" border="0">
    <!-- Spacer Cell -->
    </TD>
    <TD>
    <!-- "Tree" Navigational Bar -->
     <IMG name="Tree" src="images/Tree_Bar.gif" width="500" height="30"
     alt="" border="0">
    <!-- End "Tree" Navigational Bar -->
    </TD>
   </TR>
  </table>
  <!--- This is the variable from the query going back to the calling
page --->
   <cfset caller.content = content_query.content_data>
  </cfcase>
<!---  FOOTER --->
  <cfcase value="end">
   If you're going to join a frat it might as well be : <a
href="http://www.someTKEfrat.org">TKE</a><br>
   Email me Direct: <br>
   <A href="mailto:[EMAIL PROTECTED]">Kevin Queen</A><br>
 </body>
 </html>
  </cfcase>
</cfswitch>

<---dsp_content_table.cfm--->
<TABLE cellpadding="0" cellspacing="0" cols="3" align="center" border="0"
name="Main_Table">
 <TR>
  <TD width="50%"><!-- Spacer Cell -->
  </TD>
  <TD>
  <!-- Begin the Content Table (2x4) -->
   <TABLE cellpadding="0" cellspacing="0" cols="2" align="center" border="0"
name="Content_Table">
    <TR>
     <TD rowspan="3">
     <!-- Navigation Images Table Start -->
      <TABLE border="0" cellpadding="0" cellspacing="0" width="100">
       <TR>
       <!-- Spacer Images -->
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="100" height="1"
border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="1"
border="0"></TD>
       <!-- End Spacer Images -->
       </TR>
       <TR valign="top">
       <!-- Home Button -->
        <TD><IMG name="btnHome" usemap="#Home"
src="images/Navigation_Bar/Navigation_Bar_r01_c1.gif" width="100"
height="45" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="45"
border="0"></TD>
       <!-- End Home Button -->
       </TR>
       <TR valign="top">
       <!-- Information Button -->
        <TD><IMG name="btnInformation" usemap="#Information"
src="images/Navigation_Bar/Navigation_Bar_r02_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Information Button -->
       </TR>
       <TR valign="top">
       <!-- Directions Button -->
        <TD><IMG usemap="#Directions" name="btnDirections"
src="images/Navigation_Bar/Navigation_Bar_r03_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Directions Button -->
       </TR>
       <TR valign="top">
       <!-- Scrapbook Button -->
        <TD><IMG usemap="#Scrapbook" name="btnScrapbook"
src="images/Navigation_Bar/Navigation_Bar_r04_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Scrapbook Button -->
       </TR>
       <TR valign="top">
       <!-- Find Information Button -->
        <TD><IMG usemap="#Find" name="btnFind"
src="images/Navigation_Bar/Navigation_Bar_r05_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Information Button -->
       </TR>
       <TR valign="top">
       <!-- Restricted Button -->
        <TD><IMG usemap="#Restricted" name="btnRestricted"
src="images/Navigation_Bar/Navigation_Bar_r06_c1.gif" width="100"
height="35" border="0"><TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Restricted Button -->
       </TR>
       <TR valign="top">
       <!-- VFM Button -->
        <TD><IMG usemap="#VFM" name="btnVFM"
src="images/Navigation_Bar/Navigation_Bar_r07_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End VFM Button -->
       </TR>
       <TR valign="top">
       <!-- Contact Button -->
        <TD><IMG usemap="#Contact" name="btnContact"
src="images/Navigation_Bar/Navigation_Bar_r08_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Contact Button -->
       </TR>
       <TR valign="top">
       <!-- Search Button -->
        <TD><IMG usemap="#Search" name="btnSearch"
src="images/Navigation_Bar/Navigation_Bar_r09_c1.gif" width="100"
height="35" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="35"
border="0"></TD>
       <!-- End Search Button -->
       </TR>
       <TR valign="top">
       <!-- Empty Space -->
        <TD><IMG name="Navigation_Bar_r10_c1"
src="images/Navigation_Bar/Navigation_Bar_r10_c1.gif" width="100"
height="225" border="0"></TD>
        <TD><IMG src="images/Navigation_Bar/shim.gif" width="1" height="225"
border="0"></TD>
       <!-- End Empty Space -->
       </TR>
      </TABLE>
      <!-- End Navigation Images Table -->
     </TD>
    </TR>
    <TR>
          <TD valign="top">
    <cfoutput>
    #content#
    </cfoutput>
          </TD>
    </TR>
    <TR>
          <TD>
   </TD>

     <TD>
     <!-- Spacer Cell-->
     </TD>
    </TR>
    <TR>
     <TD>
     <!-- Spacer Cell -->
     </TD>
     <TD><!-- Copyright Bar -->
     <IMG src="images/Copyright_Bar.gif" width="500" height="30" alt=""
border="0"><!-- End Copyright Bar -->
     </TD>
    </TR>
   </TABLE>
   <!-- End Content Table -->
  </TD>
  <TD width="50%">
  <!-- Spacer Cell -->
  </TD>
 </TR>
</TABLE>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to