29 lines
726 B
HTML
29 lines
726 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>
|
|
LiveConnect DOM calls tester
|
|
</TITLE>
|
|
</HEAD>
|
|
<SCRIPT>
|
|
jaction = function ()
|
|
{
|
|
var obj1 = document.applets.app1;
|
|
var n = document.forms.myform.val.value;
|
|
obj1.setLimit(n);
|
|
return true;
|
|
}
|
|
</SCRIPT>
|
|
<BODY>
|
|
<FORM NAME="myform">
|
|
<INPUT TYPE="input" NAME="val" VALUE="10">
|
|
<INPUT TYPE="button" VALUE="Press me!" onClick="jaction()"><BR>
|
|
</FORM>
|
|
<APPLET codebase="." code="LC1.class" width=150 height=150 name=app1 MAYSCRIPT>
|
|
<param name=message value="First applet">
|
|
<param name=count value="5">
|
|
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
|
|
Your browser is completely ignoring the <APPLET> tag!
|
|
</APPLET>
|
|
</BODY>
|
|
</HTML>
|