Hi Rechard I download jQuery UI files and selectable successed.
here is treeTable's url http://ludo.cubicphuse.nl/jquery-plugins/treeTable/doc/index.html#example-2 Thanks Wang Suya wangsuya のメッセージ: > Hi Richard > > Thank you for you return treeTable is a tree structure jQuery > Plugin. I use jquery-1[1].3.1.min.js this is not include your > mentioned js files? How can I get your metioned files? I totally new > one about jQuery. Hope everyone help. Thanks again. > > Wang Suya > > Richard D. Worth のメッセ�ジ: > > A few questions: > > > > 1. What is treeTable? > > 2. It doesn't look like you've included the jQuery UI Core or jQuery UI > > Selectable files (ui.core.js, ui.selectable.js). Is this a complete code > > sample? > > 3. What version of jQuery UI are you using? > > > > - Richard > > > > On Thu, Feb 12, 2009 at 8:01 PM, wangsuya <[email protected]> wrote: > > > > > > > > Hi everyone > > > > > > I try to use selectable as bellow code. However it did not work > > > who can tell me why? Thanks in advance. > > > > > > Wang Suya > > > > > > <html> > > > <head> > > > <script type="text/javascript" src="jquery-1[1].3.1.min.js"></ > > > script> > > > <link href="treeTable/src/stylesheets/jquery.treeTable.css" > > > rel="stylesheet" type="text > > > /css" /> > > > <link href="master.css" rel="stylesheet" type="text/css" /> > > > <script type="text/javascript" src="treeTable/src/javascripts/ > > > jquery.treeTable.js"></sc > > > ript> > > > <script type="text/javascript"> > > > > > > var b = new String; > > > $(document).ready(function() { > > > $("#tree").treeTable(); > > > $("table#tree tr").mousedown(function(){ > > > $("tr.selected").removeClass("selected"); > > > $(this).addClass("selected"); > > > }); > > > $("table#tree tr").selectable({selected: function(event,tr){ > > > alert(1); > > > } > > > }); > > > > > > }); > > > > > > </script> > > > </head> > > > <body> > > > <table id="tree"> > > > <tr id="node-1000"> > > > <td>Parent</td><td></td> > > > </tr> > > > <tr id="node-3456-2345" class="child-of-node-1000"> > > > <td>Child</td><td><a href="test2.php">test2</a></td> > > > </tr> > > > <tr id="node-6789-8234" class="child-of-node-1000"> > > > <td>Child</td><td></td> > > > </tr> > > > </table> > > > </body> > > > </html> > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
