<script type="text/javascript"> function podmiana(nr,zmien) { if (zmien == "nowe") { document.getElementById('obrazek'+nr).width = '770'; document.getElementById('obrazek'+nr).width = '1000'; } else if (zmien == "stare") { document.getElementById('obrazek'+nr).width = '100'; document.getElementById('obrazek'+nr).width = '100'; } } </script>
<a href='javascript:void(0);' onclick='podmiana(1,\"nowe\")'
Jak zrobić żeby liczby
onclick='podmiana(1,\"nowe\")'
onmouseout='podmiana(1,\"stare\")
id='obrazek1'
Zmieniały się automatycznie? bardo proszę o odpowiedź i z góry dziękuję.