I am also a YUI guy, and not jQuery, but here goes... To this element: <ul id="navLeft" class="treeview-blue treeview"> Add: style="display: none;"
In the JavaScript that turns the list into a "pretty" tree view, set the display of that element to "block". jQuery has special functions for that I believe, but I'm not familiar with it. Straight JS would be: document.getElementById("navLeft").style.display = "block"; On Fri, Mar 7, 2008 at 9:59 AM, Paul Ihrig <[EMAIL PROTECTED]> wrote: > adam. > thats way over my head man... > if you can explain how i could do this better, i would so appreciate it. > heck maybe there is a better solution. > its just a bunch of nested lists. > > with cfif checking location on what to show. > > > On Thu, Mar 6, 2008 at 11:10 PM, Adam Haskell <[EMAIL PROTECTED]> wrote: > > > That post render jump is pretty typical of the majority of AJAX > > frameworks. > > I am a big advocate of YUI so my experiences may be different. Generally > > the > > way I deal with this is set my containing element to dsiplay: none next > I > > get a handle on that container (navTree = getElementByXX();). Then > render > > the content correctly with my framework, in this case jQuery, and > finally > > set my original containing element display to block or blank or > something > > other than none. > > > > Hope that helps. > > > > Adam > > > > > > On Thu, Mar 6, 2008 at 12:18 PM, Paul Ihrig <[EMAIL PROTECTED]> wrote: > > > > > hey guys. not sure if this is due to massive amount of cfif's or some > > > thing > > > with jquery... > > > > > > i am trying to use tree view on a test/stage site > > > http://63.144.103.199/industrial/enclosures/wallmount/index.cfm > > > its slow.. > > > > > > i am using cfif statements to open close tree branches byt setting the > > > class > > > of the <li>. > > > my problem so far is that i get a weird refresh thing going on where > it > > > expands entire tree with no style. > > > with bkg repeat. > > > then once loaded it looks fine. > > > it is sporadic, and i don't know what to look into... > > > > > > the nav is being called by a cfinclude. > > > not sure if there is a better way to do this. > > > i wanted to do a accordion nav, but i am going to have like 5 levels > > deep, > > > once i flush this out... > > > > > > any pointers would be great! > > > -paul > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4