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'); } |