I'm not sure if it's the best solution, but a friend of mine helped me
overcome the issue i was experiencing.
We added a line of CSS to hide treeview on load, and then set it to
display in the demo.js file once everything was loaded
ie
$("#browser").treeview({
animated: "fast",
persist: "cookie",
collapsed: true
}).css('display','block');
Any feedback on this would still be appreciated.
Dirceu Barquette wrote:
> Try my plugin.
> http://sourceforge.net/projects/jqtreevial/
>
> 2008/11/29 Andrew <andrewblunsum@gmail.com>
>
> >
> > Hi
> >
> > I've got the treeview plugin set to be collapsed on load. This works
> > generally, but every now and then, the page loads and the tree appears
> > fully expanded, before shrinking back to it's collapsed (or whatever
> > cookie state).
> >
> > The page i'm working at is www.australian-postcodes.com.
> > Try clicking Animated > Leader > Ultramagnus ... and then Unofficial >
> > Fansproject > City Commander, and if it doesn't do it, go back and
> > forth between the 2 pages a few times.
> >
> > I managed to grab a screenshot of the expanded list before it
> > collapses - http://www.australian-postcodes.com/treeview.png ... you
> > can see the styles are only partially applied as well?
> >
> > Please help! Otherwise, i've found this plugin to be just what i
> > needed :)
> >
> > Thanks, Andrew
> >
No comments:
Post a Comment