|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<script language="javascript" type="text/javascript">
<!--
function InvokeMethod (str)
{
myDiv.innerHTML = "<font size=8>" + str + "</font>";
}
function Button1_onclick() {
window.external.SayHi ();
}
function Button2_onclick() {
window.external.AMessageFromHome = "Try try try";
}
function Button3_onclick() {
alert (window.external.AMessageFromHome);
}
-->
</script>
</head>
<body>
<p>myExtentionPage is loaded !</p>
<br />
<br />
<input id="Button1" type="button" value="Well this is a normal HTML button !" onclick="return Button1_onclick()" /><br />
<br />
<input id="Button3" type="button" value="Show me a message from home !" onclick="return Button3_onclick()" /><br />
<br />
<input id="Button2" type="button" value="Try to change something !" onclick="return Button2_onclick()" /><br />
<br />
<br />
<div id="myDiv" style="font-size: 100%; vertical-align: middle; width: 100%; direction: ltr;
font-family: Fantasy, Sans-Serif, Serif; height: 200px; text-align: center">
</div>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.