Note that there are some explanatory texts on larger screens.

plurals
  1. POiFrame causes scriptaculous dragging issues in IE7 (full code included)?
    text
    copied!<p>When I drag a link that is inside a draggable div over an iframe in IE7, I get very strange results. Try the code below and let me know if you have any suggestions about how to fix this.</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;!--&lt;script type="text/javascript" src="/js/prototype.js"&gt;&lt;/script&gt;--&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js?load=effects,dragdrop,controls"&gt;&lt;/script&gt; &lt;!--&lt;script type="text/javascript" src="/js/scriptaculous.js?load=effects,dragdrop,controls"&gt;&lt;/script&gt;--&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="test" style="background-color: #aaaaaa; width: 200px; height: 50px;"&gt; &lt;a href="blah" onclick="blah(); return false;"&gt;blah&lt;/a&gt; &lt;/div&gt; &lt;iframe&gt; &lt;/iframe&gt; &lt;/body&gt; &lt;script&gt; function blah(){ //blackbird.debug("blah"); } var dummy = new Draggable("test", {scroll:window,scrollSensitivity: 20,scrollSpeed: 25, revert: true, onStart: onDragStart, onEnd: onDragEnd }); var temp; function onDragStart(drgObj,mouseEvent){ temp = mouseEvent.target.onclick; mouseEvent.target.onclick = function(e){ mouseEvent.target.onclick = temp; return false; } } function onDragEnd(drgObj,mouseEvent){ } &lt;/script&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload