includes/clientside/static/sliders.js
changeset 755 9b4cd3ef42f3
parent 753 33ae51d7c685
child 779 609e35845ec3
equal deleted inserted replaced
754:75decd836c94 755:9b4cd3ef42f3
    56     
    56     
    57     var el = div.previousSibling;
    57     var el = div.previousSibling;
    58     if ( !el )
    58     if ( !el )
    59       continue;
    59       continue;
    60     while ( el.tagName != 'DIV' )
    60     while ( el.tagName != 'DIV' )
       
    61     {
    61       el = el.previousSibling;
    62       el = el.previousSibling;
       
    63       if ( !el )
       
    64         break;
       
    65     }
       
    66     if ( !el )
       
    67       continue;
    62     var toggler = el.getElementsByTagName('a')[0];
    68     var toggler = el.getElementsByTagName('a')[0];
    63     if ( !toggler )
    69     if ( !toggler )
    64       continue;
    70       continue;
    65     toggler.onclick = function()
    71     toggler.onclick = function()
    66     {
    72     {