[jQuery] Re: Help Add variable to jquery file tree

2009-08-22 Thread 262Rui
This is how i get so far but it still does not work $(document).ready( function() { var contribuinte = $(#cbfv_55).text(); $('#fileTreeDemo_3').fileTree({ root: '/' + contribuinte + '/' , script: 'jqueryFileTree.php' }, function(file) { openLink(file); });

[jQuery] Re: Help with show hide function

2009-08-22 Thread 262Rui
If your divs are named #workdiv , #whatdiv, etc I would try something like: $('#work').click(function() { $('#workTab').toggle(400); return false; $(div[id!=workdiv]).hide(); $('#workdiv').show(); }); Good luck

[jQuery] Help Add variable to jquery file tree

2009-08-21 Thread 262Rui
I'm using jquery file tree plugin and my document head goes like this: script type=text/javascript $(document).ready( function() { $('#fileTreeDemo_3').fileTree({ root: 'download/', script: 'conector.php' }, function(file) {

[jQuery] HowTo Select first two characters of an li and hide them

2009-03-25 Thread 262Rui
This is My markup div class=multiple_options_caption Features/div div class=multiple_options ulli class=features11 Classic Designbr/li li class=features14 Countryside Viewbr/li li class=features17 Space for Swimming Poolbr/li li class=features21 Garagebr/li li class=features22 Spacious Garden