I\'m loading pages asynchronously with the jQuery load function, like this:
tree.click(function() { if ($(this).hasClass(\"file\")) {
You need to call that in the callback to load:
content.load("content/"+this.id+".html",function() { SyntaxHighlighter.all(); });
load is asynchronous so it happily continues along executing statements while the GET request is done in the background.