Closed GoogleCodeExporter closed 8 years ago
You have to initialize the tree *after* the content was loaded:
{{{
$('#page_content').load(url + ' #page_content', function(){
$('#progress').remove();
$("#tree2").dynatree({
...
}
});
}}}
Also, there should be no duplicate ids in your file (id='tree' is duplicate)
and the outer tag of the home.html file can be omitted.
Anyway, I would always prefer, to use the built-in initAjax option and provide
the content in JSON format...
Original comment by moo...@wwwendt.de
on 30 Sep 2010 at 6:20
Original comment by moo...@wwwendt.de
on 21 Nov 2010 at 7:07
considered verified
Original comment by moo...@wwwendt.de
on 17 Jul 2012 at 4:16
Original comment by moo...@wwwendt.de
on 17 Jul 2012 at 4:19
Original comment by moo...@wwwendt.de
on 26 Jan 2013 at 4:08
Original issue reported on code.google.com by
tonyru...@bellsouth.net
on 7 Sep 2010 at 5:33Attachments: