Results 1 to 6 of 6

Thread: Simple HTML-menu include (client side)

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,821
    Thanks
    49
    Thanked 238 Times in 231 Posts
    Blog Entries
    56

    Default Simple HTML-menu include (client side)

    1) CODE TITLE: Simple HTML-menu include (client side)

    2) AUTHOR NAME/NOTES: Arie Molendijk

    3) DESCRIPTION: If you have a HTML-document (like a list-menu) as a navigation tool on your site, you can't use something like <script type="text/javascript" src="menu.js"></script> as a client-side menu include (unless you rewrite your whole menu as a js-file, which might get complicated).
    But there is an easy technique that can do the HTML-include (client-side) for you.

    4) URL TO CODE: http://molendijk.110mb.com/include_m...ckertree1.html

    or, ATTACHED BELOW (see #3 in guidelines below):

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,821
    Thanks
    49
    Thanked 238 Times in 231 Posts
    Blog Entries
    56

    Default

    Added a IE7-fix for the menu.
    Arie M.

  3. #3
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I cannot seem to get this to work with one of the other menus.
    Can anyone assist. This is what I have so far (I know its incomplete, a table tennis store I am putting up).

    It is displaying in IE7 perfectly. In Firefox 3 it will not display the submenus or arrow gifs. Not sure why this isnt working. I really don't want to have to put the menu code on every page as that will be a nightmare if I have to edit.

    I am attaching the code as a zip.
    Last edited by klaypigeon; 02-01-2009 at 11:16 PM. Reason: added link to menu

  4. #4
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Bumpity...

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,821
    Thanks
    49
    Thanked 238 Times in 231 Posts
    Blog Entries
    56

    Default

    I'm not sure why it is not working in browsers othe than IE7. Anyhow, the menu you want works here. I posted the thread here.
    ===
    Arie.

  6. The Following User Says Thank You to molendijk For This Useful Post:

    klaypigeon (02-02-2009)

  7. #6
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I will give it a try. It looks like it is getting increasingly complex. Nevertheless, I'll see what I can do.

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
  •