title: Open branch when clicking on a node?
body: <p>I'm stuck with <a href="http://www.jstree.com/" rel="noreferrer">jsTree</a> here. So far it works and i can browse and expand nodes with the [+] icon and open pages when clicking a node, BUT i still want it to expand all the immediate nodes whenever someone clicks on a node.</p>
  
  <p>i had a look at around for at least 2 hours but couln't find anything. the official website is not very helpfull because they don't have enough examples, and its not very well documented. had a look at this one, but didn't work for me either:
  <a href="http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/2_operations.html" rel="noreferrer">http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/2_operations.html</a></p>
  
  <p>i didn't even get an error message in firebug</p>
  
  <p>so here is how my code looks right now,
  tree init:</p>
  
  <pre><code>$(function () {
      $("#jstree").jstree({
      ....
  </code></pre>
  
  <p>function triggered by click on node</p>
  
  <pre><code>.delegate("a","click", function (e) { 
      //click on node
      var page_id = $(this).parent().attr("page_id");
      var idn = $(this).parent().attr("id").split("_")[1];
      /*
              dosnt seem to work either...
      $(this).jstree("openNode", $("#node_"+idn));
      $(this).jstree("openNode", "#node_"+idn);
      */
      page = "index.php?page_id="+page_id;
      //location.href = page;
  })
  </code></pre>
  
  <p>.bind didnt work either:</p>
  
  <pre><code>$(this).bind("open_node.jstree", function (event, data) { 
      if((data.inst._get_parent(data.rslt.obj)).length) { 
          data.inst._get_parent(data.rslt.obj).open_node(this, false); 
      } 
  })
  </code></pre>
  
  <p>does anyone see what i'm missing here...?</p>