d3nn1s: Too much recursion / stack overflow...

Beitrag lesen

Hallo zusammen,

ich habe eine Webseite in der ich einige ausgewählte Bereiche (Divs) verschiebbar machen möchte.
Hier dazu mein Code

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml">  
<head>  
<script src="js/prototype.js" type="text/javascript"></script>  
<script src="js/scriptaculous.js" type="text/javascript"></script>  
<script src="js/common.js" type="text/javascript"></script>  
<script src="js/effects.js" type="text/javascript"></script>  
<script src="js/builder.js" type="text/javascript"></script>  
<script src="js/dragdrop.js" type="text/javascript"></script>  
<script src="js/controls.js" type="text/javascript"></script>  
<script src="js/slider.js" type="text/javascript"></script>  
<script type="text/javascript">  
<!--  
function init()  
{  
 new Draggable(document.getElementById('p0'), {revert: true});  
 Element.addClassName(document.getElementById('p0'), 'cursorPointer');  
}  
  
Event.observe(window, 'load', init);  
  
//-->  
</script>  
</head>  
<body>  
...  
<div id="p0" class="cursorPointer">Verschiebbar</div>  
...  
</body>  
</html>  

Leider bekomme ich immer die Meldung
vom IE: stack overflow at line: 1922
vom firefox:
too much recursion
[Break on this error] return __method.apply(null, [this].concat($A(arguments)));
prototype.js (Linie 247)
too much recursion
[Break on this error] if (property == 'opacity') element.setOpacity(styles[property]);
prototype.js (Linie 1921)
too much recursion
[Break on this error] return $(element).setStyle({opacity:value});
effects.js (Linie 57)
too much recursion
[Break on this error] var msg = "Error in hook: "+ exc +" fn=\n"+fn+"\n stack=\n";

Ich hab null Ahnung, wo ich da ansetzen soll. Hat jemand eine Idee?

Gruss
d3nn1s