mam funkcje:
Kod
<script language=JavaScript>
<!--//
function flip(rid)
{
current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
document.getElementById(rid).style.display = current;
}
//-->
</script>
<!--//
function flip(rid)
{
current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
document.getElementById(rid).style.display = current;
}
//-->
</script>
i jej 'czujnik' w HTML
chodzi mi o takie przebudowanie funkcji aby otrzymac odwrotny efekt - tzn. przy zaladaowaniu strony dany blok byl zamkniety a nie otwarty jak jest teraz.
pozdrawiam