Funkcję wywołuję w ten sposób:
<script type="text/javascript"> ukryjtresc(); </script> <?php } ?>
Funkcja wygląda tak:
function ukryjtresc(){ document.getElementById('all').style.opacity= '0.1'; document.getElementById('all').style.filter="Alpha(Opacity=10)"; document.getElementById('galerka').style.display="block"; document.getElementById('galerka').style.opacity= '0.9'; document.getElementById('galerka').style.filter="Alpha(Opacity=100)"; }
Problem polega na tym, że pod IE ta funkcja nie działa. Reszta gra tak jak należy chodzi tylko głownie o tą linijkę:
document.getElementById('all').style.filter="Alpha(Opacity=10)"
po prostu nie "przyciemnia" strony ;/
Poradzicie coś?