<!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>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<script>
var G = function (id) {return document.getElementById(id); }
var C = function (tag) {return document.createElement(tag); }
window.onload = function ()
{
var f = C('frame');
f.name = 'my';
f.id = 'my';
f.src = 'about:blank';
G('content').appendChild(f);
alert('test');
window.frames['my'].document.write('Loading...');
}
</script>
<frameset id="content" rows="100%,*" cols="*" frameborder="no" border="0" framespacing="0">
</frameset>
</html>
alert('test'); // Remove this line, Opera load is not successful. why? IE Firefox Chrome Safari No problem...