Source code for /src/load_test2.html.txt
//======================================================================//
// Author: Mark Qian <markqian@hotmail.com> //
// WWW: http://www.coolshare.com //
// Copyright (c) 2006, Mark Qian //
// //
// You must contact Mark Qian to get a permission of use //
// in case you want to make any use of the codes except viewing it //
// on Mark's site. //
//======================================================================//
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script>
function callMeInIFrame(m) {
try{
alert("Iframe_RemoteScriptGuru: hi, "+m+", I got your call");
} catch (err) {
alert("Error: "+err.description);
}
}
</script>
</head>
<body style="background-color:#CCFFFF">
<h3>This is a page from RemoteScriptGuru.com</h3>
<img src="http://RemoteScriptGuru.com/RemoteScriptGuru/images/floor.gif">
<input type=button value="call method 'callMe' at parent frame" onclick="parent.callMe('iframe_RemoteScriptGuru')">
</body>
</html>