Thanks. I'll post a demo site tonight. Stay tuned. I read somewhere on the internet about compressing the Javascript libraries. What do you think of that?
On Dec 2, 2007, at 1:02 PM, Michael Dinowitz wrote: Any time. These are the files I used last when working with cflayout=border. Most of them are probably needed for any of the more advanced ColdFusion/Ajax operations: C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\ext-core.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\adapter\yui\ext- yui-adapter.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package \splitbar.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package\util.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package\layout \layout.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\messages\cfmessage.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\package\cfajax.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\yui\yahoo-dom-event \yahoo- dom-event.js Of those, I think only layout.js and splitbar.js are required by cflayout. It will take some examination of the css/js files and debug output (firebug and web-developer toolbar work wonders here) to know what needs to be included and not. It's a pain but worth it in the end. On Dec 2, 2007 12:11 PM, Rey Bango <[EMAIL PROTECTED]> wrote: > Great tip Michael. I'll need to add that to my CF Cookbook folder. > > Rey.. > > Michael Dinowitz wrote: >> When some of the ColdFusion Ajax tags are used, a LOT of libraries >> are >> loaded. If you copy the ajax directory from >> C:\ColdFusion8\wwwroot\CFIDE\scripts to a new location you can then >> use >> cfajaximport to include the new scripts. You'll have to pare down >> some > based >> on what your doing but you can move the scripts from 352k to 20k. >> I've > done >> it with cflayout type="border" >> >> <cfajaximport scriptsrc="/cfide/thinscripts/" > csssrc="/cfide/scripts/ajax"> >> >> On Dec 2, 2007 9:43 AM, Philip Hayes <[EMAIL PROTECTED] >> >> wrote: >> >>> Has anybody noticed and/or come up with a solution for the slow >>> rendering speed of certain CF Ajax tags such as CFMENU and CFLAYOUT >>> (tabs in particular)? >>> >>> I have a site utilizing using the Spry Menus and Spry Tabs that come >>> with Dreamweaver. Works like a charm and is quick to load. I >>> liked >>> the idea of utilizing the new CF8 tags, but when I switched over, I >>> noticed HUGH performance issues. For instance, when using CFMENU, >>> the >>> page displays for a split second showing the <li> layout before >>> loading the Ajax menu. It looks horrible. The same thing happens >>> with the CFLAYOUT when trying to create a tabs display. Again, the >>> <li> layout displays before the Ajax tabs get rendered. It >>> creates a >>> "flashing" effect as the page loads. >>> >>> None of this happens when using Dreamweaver Spry Menu or Tabs. >>> >>> It is basically preventing me from using these in any of my sites. >>> >>> Suggestions? >>> >>> Phil Hayes >>> >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294057 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4