Hi, Can anybody help me with my problem? I get, under IE 8 an stack overflow at line: 1715 Script is working fine in Firefox
this is my code: document.observe('load', zetObservers()); function zetObservers() { $$('area').each(function(elmt) {elmt.observe('mouseover', function(ev) {doeRegio(elmt.readAttribute('alt'),elmt.readAttribute('eq'))});}); $$('area').each(function(elmt) {elmt.observe('mouseout', function(ev) {wisRegio(elmt.readAttribute('eq'))});}); $$('area').each(function(elmt) {elmt.observe('click', function(ev) {naarRegio(elmt.readAttribute('alt'),elmt.readAttribute('eq'))});}); } function doeRegio(naam,id) { $('uitvoer').update(naam); $(id).addClassName('verander'); $('uitvoer_2').update(); } function wisRegio(id) { $('uitvoer').update('Maak uw keuze...'); $(id).removeClassName('verander'); } function naarRegio(naam,id) { $$('area').each(function(elmt) {elmt.stopObserving('mouseover');}); $$('area').each(function(elmt) {elmt.stopObserving('mouseout');}); $('uitvoer_2').update('Dit is een tekst met links over '+naam+'.'); } -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.