The moment you start noticing a decrease in load time due to a DHTML menu, it can mean different things
1: The menu is wacky, and is programmed in such a bad way that a lot of information is parsed in such a dramatic way it takes a lot of time to process it. In other words, bad component. 2: The data you are feeding it, exceeds normal amounts. For a navigation menu, this does not sound very reasonable. ..js files are cached by the client. So if you output your menu configuration into a .js file that one is cached. But again, you need an enormous amount of data to notice any difference. How much data are you outputting? With the two sources part, what are you trying to do? Frames can be accessed through the DOM. So yes, you can read, output, process, etc. 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: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: donderdag 12 mei 2005 9:49 To: CF-Talk Subject: RE: Client side include Micha, Kerry, Thanks for your replys. I have no prblem with caching on the server. I would also like to cache the menu on the client. The performace hit that really worries me is that of downloading the menu with every page. Kerry said: "I would avoid DHTML menus, and recursive menus that render the whole menu in one go." Unfortunarely that answer is not the solution as the client has this as a must have item! Apart from the download time CSS menu is working well so I don't need a solution for that, just for caching it in the browser. Beacuse of the page layout putting the menu and page in separate frames is not the solution. I was wondering if anyone here had ever tried using a single frame with javascript to write the output from two sources. That way I could possibly cache the menu on the browser and merge it with the rest of the page. Kevin -----Original Message----- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 09:27 To: CF-Talk Subject: RE: Client side include 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:206506 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

