SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    calif
    Posts
    723
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Nav menu hlpe with log-in/log-out

    Currently I'm using a php web script where on the navigation menu you select the word "log-in" and when you log in, the word in the nav menu changes to "log out", (enabling the user to select "log-out" when he wants to log out).
    Here is the menu code:

    Code:
      
    <div class="menuh">
    <ul>
    <li><a href="[var.base_url]">home</a></li>
    <li><a href="[var.login_out_link]">[var.login_out]</a></li>
    </ul></div>
    I've had someone change the look of the nav menu, and the code now looks like this:

    Code:
    <tr><td class="menu">
    <table><tr>
    <td><a class="btn_home" href="[var.base_url]">&nbsp;</a></td>
    <td><a class="btn_login" href="[var.login_out_link]">[var.login_out]&nbsp;</a></td>
    </td></tr></table>
    </td></tr>
    However, the old word "log-in" still appears (above the new log-in button, and changes to "log-out", as before).

    How can I get the new log-in word/button to change to log-out? (and get rid of the old words?)

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,788
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Moved to the PHP forum.

    You will need to supply more details of the script that you are using or perhaps a link to the page in question so that someone can help you with this.


Bookmarks

Posting Permissions

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