PDA

View Full Version : Menu-include on the client: yet another one



molendijk
02-09-2009, 06:38 PM
1) CODE TITLE: Menu-include on the client: yet another one

2) AUTHOR NAME: Arie Molendijk

3) DESCRIPTION: A client-side technique for having a html-menu on your pages. No need to write it onto every page. The content pages are dynamically loaded in a text/html-object (non-IE) or iframe (IE). The menu is automatically added. The technique is simpler than this (http://www.dynamicdrive.com/forums/showthread.php?t=40694).

4) URLS TO CODE:
http://molendijk.110mb.com/include_menu9/include_menu9smooth/
http://molendijk.110mb.com/include_menu9/include_menu9twinhelix/
http://molendijk.110mb.com/include_menu9/include_menu9ddlevels/

5) NOTES:
- The 3 menus you see on the URLS_TO_CODE are illustrations of the technique.
- Only one of these menus (Twinhelix) works on Netscape 7.0. That's not the 'fault' of the technique used here, but the 'fault' of the other two menus themselves.
- None of these menus work properly on Mozilla 1.7.5 when the technique used here is applied. That's because divs and the like won't go over test/html-objects in that browser, which is out of use anyway, so there won't be a major problem.

EDIT FEBR. 12:
In the files that explain the technique, I added some remarks about the menu's loading speed, and the possibility of loading 'foreign files' and of bookmarking foreign pages that have your own menu on them.

molendijk
02-10-2009, 09:05 AM
I made some changes (Febr. 10) that speed up initial loading time in IE. They're explained in the files.
===
Arie.

molendijk
02-12-2009, 08:48 PM
EDIT FEBR. 12:
In the files that explain the technique, I added some remarks about the menu's loading speed, and the possibility of loading 'foreign files' and of bookmarking foreign pages that have your own menu on them.
===
Arie.

molendijk
02-19-2009, 03:17 PM
Here (http://www.dynamicdrive.com/forums/showthread.php?p=185539#post185539) is a tutorial about dynamically passing data from one HTML-page to the other.
The tutorial is directly related to this thread.
===
Arie.