Magellan Linux

Diff of /alx-src/branches/alx-web-060/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2599 by niro, Wed Jul 6 10:28:40 2011 UTC revision 2600 by niro, Wed Jul 6 10:32:27 2011 UTC
# Line 297  function parsearrs($name, $arr) Line 297  function parsearrs($name, $arr)
297   var absatz = document.all['sch_absatz_'+nummer].style;   var absatz = document.all['sch_absatz_'+nummer].style;
298   var senden = false;   var senden = false;
299    
300   if(bild.title == 'OPEN')   $("#sch_absatz_"+nummer).toggle(0, function(){
301   {   if($(this).css("display")=="none"){$("#sch_bild_"+nummer).attr({title:'OPEN',src:'pics/plus.gif'});}else{$("#sch_bild_"+nummer).attr({title:'CLOSE',src:'pics/minus.gif'});}
302   if(act<=1)   });
303   {   if(act<=1){ $("#sch_bild_"+nummer).attr({title:'CLOSE',src:'pics/minus.gif'}); }else{ $("#sch_bild_"+nummer).attr({title:'OPEN',src:'pics/plus.gif'}); };
304   absatz.visibility = 'visible';   }
  absatz.position = '';  
  bild.title = 'CLOSE';  
  bild.src = 'pics/minus.gif';  
  senden = true;  
  act = 0;  
  }  
  }  
  else  
  {  
  if(act>=1)  
  {  
  absatz.visibility = 'hidden';  
  absatz.position = 'absolute';  
  bild.title = 'OPEN';  
  bild.src = 'pics/plus.gif';  
  senden = true;  
  act = 2;  
  }  
  }  
   
  if(senden) sendopenclose(nummer,act);  
  }  
305    
306   function showhelp(name)   function showhelp(name)
307   { window.open(name, 'HelpWin', 'width=620,height=500,scrollbars=yes'); }   { window.open(name, 'HelpWin', 'width=620,height=500,scrollbars=yes'); }

Legend:
Removed from v.2599  
changed lines
  Added in v.2600