Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Permanent menu

  1. #1
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation Permanent menu

    I need a script to make like the top header and side menu permanent and that do not reload... .. when you click on the menu at top the page does not reload just the content on the bottom does...I need to install to mysite at blastup.com... Please HELP .. THANX
    Last edited by blastup; 11-11-2006 at 07:40 PM.

  2. #2
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You solution could be Ajax, but a simple iframe can also do it.

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    or just a frame, if your not too worried about accessability...

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    ORRR... make a header/footer type thing. Just include header on each page
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    but that would reload with the page...

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Yes, but the content would be the same, and as long as the OP wasn't doing music in that area no one would notice. More accesable than frames, and if its the color/font changes they were refering to, that can be done with CSS as well.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by blastup View Post
    I need a script to make like the top header and side menu permanent and that do not reload...
    No, you don't.

    How do you make that ?
    Frames, usually. However, frames bring many usability problems and are rarely justified.

    I found a site with this feature on myspacescriptz.com .. when you click on the menu at top the page does not reload just the content on the bottom does...
    Rubbish. It just renders faster than yours, and with very good reason.

    I need to install to mysite at blastup.com...
    What you need to do is rewrite that site, and avoid using tables to layout the document.

    That home page is essentially one giant table. Until the browser has a substantial amount of data, it has no idea how to go about rendering it, so it just waits, and waits, and waits... The other site you mentioned used better (though not perfect) markup, using CSS to style the document. With simpler HTML, the browser can begin rendering incrementally much earlier, hence the perception of a permanent header.

    Write valid, semantic markup. As far as I can see, there needn't be a single table element anywhere.

    Mike

  8. #8
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Talking

    that is great info thanx ... im gonna change it all to css

  9. #9
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    wait, why is this in >php ?

    if you had a text document with your menu's code in it you could use
    <?php
    $menu="menu.txt";
    echo"$menu" ?>
    im not sure if thats correct though... but you could make changes to your menu across the whole site by changing that one file.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  10. #10
    Join Date
    Oct 2006
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    i have another way of doing that....<?php include($DOCUMENT_ROOT . "/header.php"); ?> this will make change to menu across enter site... What i meant is at the top.. Permanent menu no reloading static...i know how to do it now.. just change to css

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
  •