Witam Was. Proszę o pomoc w znalezieniu małej "usterki".

Funkcję wywołuję w ten sposób:

  1. <?php if(isset($_GET['nr'])) { ?>
  2. <script type="text/javascript"> ukryjtresc(); </script>
  3. <?php } ?>


Funkcja wygląda tak:

  1. function ukryjtresc(){
  2. document.getElementById('all').style.opacity= '0.1';
  3. document.getElementById('all').style.filter="Alpha(Opacity=10)";
  4. document.getElementById('galerka').style.display="block";
  5. document.getElementById('galerka').style.opacity= '0.9';
  6. document.getElementById('galerka').style.filter="Alpha(Opacity=100)";
  7. }


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ę:

  1. document.getElementById('all').style.filter="Alpha(Opacity=10)"


po prostu nie "przyciemnia" strony ;/

Poradzicie coś?