Side navigation
Ticket #3601: jquery_bug_test_case.htm
File jquery_bug_test_case.htm, 1.5 KB (added by DanielKatz, November 13, 2008 04:06PM UTC)
bug TestCase
jQuery animation bug test case
click on the blue div
for this test case to work jquery-1.2.6.js must be in the same directory
', '', '', 'click on me', '', ''] .join("\n");
var iframe = _AN_Call_createelement("createElement", document, "iframe");
_AN_Call_setattribute("setAttribute", iframe, "id", "dynamiciframe");
_AN_Call_setattribute("setAttribute", iframe, "name", "dynamiciframe");
_AN_Call_appendchild("appendChild", document.body, iframe);
document.body.onload = function (){
var iframe = window.frames.dynamiciframe;
_AN_Call_open("open", iframe.document);
_AN_Call_write("write", iframe.document, html);
iframe.document.body.onload = function (){
var jQuery = iframe.window.jQuery;
jQuery("#testdiv").click(function (){
jQuery(this).fadeOut("slow", function (){
alert("done!");
}
);
}
);
}
;
iframe.document.close();
}
;
File jquery_bug_test_case.htm, 1.5 KB (added by DanielKatz, November 13, 2008 04:06PM UTC)
bug TestCase
jQuery animation bug test case
click on the blue div
for this test case to work jquery-1.2.6.js must be in the same directory
', '', '', 'click on me', '', ''] .join("\n");
var iframe = _AN_Call_createelement("createElement", document, "iframe");
_AN_Call_setattribute("setAttribute", iframe, "id", "dynamiciframe");
_AN_Call_setattribute("setAttribute", iframe, "name", "dynamiciframe");
_AN_Call_appendchild("appendChild", document.body, iframe);
document.body.onload = function (){
var iframe = window.frames.dynamiciframe;
_AN_Call_open("open", iframe.document);
_AN_Call_write("write", iframe.document, html);
iframe.document.body.onload = function (){
var jQuery = iframe.window.jQuery;
jQuery("#testdiv").click(function (){
jQuery(this).fadeOut("slow", function (){
alert("done!");
}
);
}
);
}
;
iframe.document.close();
}
;