Results 1 to 5 of 5

Thread: creating side navigation global columns

  1. #1
    Join Date
    Jan 2005
    Location
    Essex UK
    Posts
    12

    Default creating side navigation global columns

    Hi I want to have global left and right side columns on each page but I don't want to change every template page as maintaining this would be impossible over time.

    I thought to make 2 page say left column.html and right column.html and use includes to display them as I think is done for header and footer.

    Is this possible and if I done it where would I place the includes

  2. #2
    Join Date
    Jan 2005
    Location
    Essex UK
    Posts
    12

    Default

    Hi all I have now sorted this out by putting the columns in the header and footer (nested tables) if anyone wants to see how this is done please let me know, the html is a bit scrappy as I haven't cleaned it up yet but it works well.

    Basically it gives you Global columns to the left and right hand sides of the directory

  3. #3
    Join Date
    Feb 2004
    Location
    md
    Posts
    98

    Default

    Quote Originally Posted by tenaki
    Hi all I have now sorted this out by putting the columns in the header and footer (nested tables) if anyone wants to see how this is done please let me know, the html is a bit scrappy as I haven't cleaned it up yet but it works well.

    Basically it gives you Global columns to the left and right hand sides of the directory

    I would like to see how it will work
    thanks

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    thats the way i would do it, use the header to open the left column and the footer to handle the right column.

    content is placed between the two (the middle)

    I have a site running jshop that does it this way, i can send you the files if you want to see the way they constructed the tables.

  5. #5
    Join Date
    Jan 2005
    Location
    Essex UK
    Posts
    12

    Default

    thats the way i would do it, use the header to open the left column and the footer to handle the right column.

    content is placed between the two (the middle)
    Header: open and find at the bottom the start on the table that contains the main content, above that add the 1st cell (left column) and the table
    HTML Code:
         </td>
      </tr>
      </table>
     <table border="1">
      <tr>
        <td><!-- new table cell -->
    <table align=center border="1">
      <tr>
        <td>right handside</td>
      </tr>
    </table>
    </td>
        <td> <!-- main content -->
          <div align="center">
            <table width="100%" border="2">
              <tr>
                <td>
    Footer: Insert new table cell at the top

    HTML Code:
     <td valign="top"><!-- new table cell -->
    <table align=center border="1">
      <tr>
        <td>right handside</td>
      </tr>
    </table>
     </td>
      </tr>
    </table><!-- end main content -->
    Hope that's right as it was from memory, hope it helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •