Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2003
    Location
    Richmond, Va.
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Navigation script

    I have just started learning php and I would like to include the navigation bar that is being used at this site:

    http://www.uknl.net/mg/main.php

    I have looked at the nav. bars at Dynamic Drive and I haven't found one that doesn't run off the right side of the page. Any help would be greatly appreciated.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    I dunno what this has to do with php?

  • #3
    New to the CF scene
    Join Date
    Aug 2003
    Location
    Richmond, Va.
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry, after numerous hours of trying to get code to work from another listing I found in this forum I was looking for a simpler way of doing a navigation bar. This is the code that I was trying to use but could not make it work:

    <doctype...>

    <html>

    <head>

    <meta...>

    <link stylesheet...>

    <title></title>

    </head>

    <body>

    <table>

    <tr>

    <td rowspan="2"><? include('leftNav.php'); ?></td>

    <td><? include('topNav.php'); ?></td>

    </tr>

    <tr>

    <td>

    Page content

    </td>

    </tr>

    </table>

    </body>

    </html>
    All I want to do is create a web site that has the same nav bar on the left and the same logo on the top without using frames. I was told that php was the best way to go. Every time I placed this code:
    <? include('leftNav.php'); ?>
    within a table on the left where my nav bar goes my html table code caused problems.

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    If your code wasn't working then it's nothing to do with php still, it's html or javascript related. Check your source code for errors. It'll only be a missing/extra tag somewhere or a setting wrong or something.


  •  

    Posting Permissions

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