393822-1.html (523B)
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 2 <head> 3 <script> 4 5 var ff; 6 var jj; 7 8 function boom() 9 { 10 ff = document.createElement("font"); 11 ff.setAttribute("size", "-2"); 12 ff.appendChild(document.createTextNode("G")); 13 14 jj = document.getElementById("jj"); 15 16 jj.appendChild(ff); 17 setTimeout(boom2, 30); 18 } 19 20 function boom2() 21 { 22 jj.removeChild(ff); 23 24 document.documentElement.removeAttribute("class"); 25 } 26 27 </script> 28 </head> 29 30 <body onload="boom();" dir="rtl"><div id="jj">h </div></body> 31 32 </html>