Search Type: Posts; User: s6urik

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    6,903
    Yep, sure! A few more lines shorter =D>
  2. Btw if you gonna place your scripts and html in the same file it's probably better to move scripts to as low in the html as possible. This is recommendation of YUI Perfomance team guys.
    Read more...
  3. Replies
    3
    Views
    6,903
    Check out following code, it extends progress dialog by adding second progress bar to it.



    <html>
    <head>
    <script type="text/javascript" src="js/ext/adapter/yui/yui-utilities.js"></script>...
  4. Replies
    8
    Views
    4,328
    I don't quite well understand structure of your tree but it seems that in your case you could alter saveState() method this way:



    saveState : function(){
    var menu = this.getNodeById(0);
    ...
  5. Replies
    3
    Views
    2,753
    It's mentioned in the documentation: http://www.yui-ext.com/deploy/ext-1.0-alpha3/docs/output/Ext.tree.TreePanel.html#event-beforenodedrop

    Code sample:


    tree.on("beforenodedrop",...
  6. Replies
    8
    Views
    4,328
    Here is my try:



    StatefullTreePanel = function (el, config){
    StatefullTreePanel.superclass.constructor.call(this, el, config);
    Ext.apply(this, config || {});
    ...
Results 1 to 6 of 6