Kerry, Could you also explain why? For Kevin, overlapping parts of the menu means you either must look at how to handle such things using scrollbars using CSS or markup, or adjust the menu to fit in the user interface.
For the performance hit of the cfinclude, try looking at caching the output. Often there is no reason (besides personalized links, or information) to render navigation on each request. Render it once, reuse it many times afterwards. Caching in the application scope, of the output of the menu, offers you the ability to display that cached output to all visitors. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- -----Original Message----- From: Kerry [mailto:[EMAIL PROTECTED] Sent: donderdag 12 mei 2005 8:56 To: CF-Talk Subject: RE: Client side include Not the answer you want but, I would avoid DHTML menus, and recursive menus that render the whole menu in one go. -----Original Message----- From: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 08:49 To: CF-Talk Subject: Client side include Hi, A new site I am building has a really big left hand menu. we are using some DHTML code that builds a css based hierarchical menu. It looks good but takes 'ages' to download on every page. I was just thinking that it must be possible to download it once and include it on the client side rather than at the server end to save on the download. Anyone know how to do that? I already tried: <object type="text/html" data="include/menu.cfm"> <a href="include/menu.cfm"> Menu </a> </object> .....but the effect of doing it that way is that when the menu jumps out the box gets bigger and disrupts the page, instead of the menu overlapping the page elements. Does anyone know if this kind of thing can be done with writeContent() ? I can't see how myself but have a hunch that there might be some way to do that. Target browsers are IE and FireFox. Kevin Roche Technical Director Objective Internet Ltd 01256 338 490 ======================================================================== This message (including any attachments) contains information that may be confidential and/or privileged. It is intended only for the person(s) to whom it is addressed. - If you are not the intended recipient, please notify the sender by replying to this message with "Received in error" as the subject and then delete it from your mailbox. - If you are not the intended recipient, you are not authorized to read, print, retain, copy or disseminate this message or any part of it, and any unauthorized use may be illegal. The sender is not responsible for the accuracy or completeness of this message when it has been transmitted over a public network, as Internet communication is not secure. ======================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206500 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54