Advertisement
Guest User

Untitled

a guest
Jun 9th, 2011
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function showboxy(teiken){
  2.       new Boxy.load(teiken.attr('href'), {
  3.                     afterShow: function() {
  4.                         $(".filterable tr:has(td)").each(function(){
  5.                                    var t = $(this).text().toLowerCase(); //all row text
  6.                                      $("")
  7.                                        .hide().text(t).appendTo(this);
  8.                                 });//each tr
  9.                         $("#FilterTextBox").keyup(function(){
  10.                                var s = $(this).val().toLowerCase().split(" ");
  11.                                //show all rows.
  12.                                $(".filterable tr:hidden").show();
  13.                                $.each(s, function(){
  14.                                    $(".filterable tr:visible .indexColumn:not(:contains('"
  15.                                       + this + "'))").parent().hide();
  16.                                });//each
  17.                              });//key up.  
  18.                         $('#rede').focus();  
  19.                     },
  20.                     modal: true,
  21.                     closeable: true,
  22.                     title : "Support Log",unloadOnHide : true
  23.                 });
  24.  
  25.    }  
  26.       $(document).ready(function() {
  27.                
  28.            $('#boxy').click(function(){
  29.                     showboxy($(this));
  30.                     return false;
  31.                 });
  32.  
  33.       });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement