, ActiveX ( OLE) Java , Microsoft Visual Basic Scripting Edition Internet Explorer . Internet Explorer Label, .
, <OBJECT> <PARAMS>. Visual Basic, , <PARAMS> . , ActiveX Label:
<object classid="clsid:99B42120-6EC7-11CF-A6C7-00AA00A47DD2" id=lblActiveLbl width=250 height=250 align=left hspace=20 vspace=0 > <param NAME="Angle" VALUE="90"> <param NAME="Alignment" VALUE="4"> <param NAME="BackStyle" VALUE="0"> <param NAME="Caption" VALUE="A Simple Desultory Label"> <param NAME="FontName" VALUE="Verdana, Arial, Helvetica"> <param NAME="FontSize" VALUE="20"> <param NAME="FontBold" VALUE="1"> <param NAME="FrColor" VALUE="0"> </object>, . , <FORM>, Label.
<form NAME="LabelControls"> <input TYPE="TEXT" NAME="txtNewText" SIZE=25> <input TYPE="BUTTON" NAME="cmdChangeIt" VALUE=" "> <input TYPE="BUTTON" NAME="cmdRotate" VALUE=""> </form>, cmdChangeIt, Label:
<SCRIPT LANGUAGE="VBScript"> <!-- sub cmdChangeIt_onClick dim TheForm set TheForm = Document.LabelControls lblActiveLbl.Caption = TheForm.txtNewText.Value end sub --> </SCRIPT>, / , VBScript .
ActiveX Internet Explorer. , , (CLSID) Microsoft (http://www.microsoft.com). <OBJECT> Internet Explorer 4.0 Author's Guide and HTML Reference.
Internet Explorer ({})
, W3C.
, , , <OBJECT>. . . ( ), Label , . , . , <IMG>.
<html> <head><title> </title> <SCRIPT LANGUAGE="VBScript"> <!-- sub cmdPlusSize_onClick imgTest.Width = imgTest.Width * 1.1 imgTest.height = imgTest.height * 1.1 end sub sub cmdMinusSize_onClick imgTest.Width = imgTest.Width / 1.1 imgTest.height = imgTest.height / 1.1 end sub --> </SCRIPT> </head> <body> <h3> </h3><hr> <img border="0" src="vbs-error.jpg" width="542" height="204" id=imgTest > <form NAME="LabelControls"> <input TYPE="BUTTON" NAME="cmdPlusSize" VALUE=" 10%"> <input TYPE="BUTTON" NAME="cmdMinusSize" VALUE=" 10%"> </form> </body> </html>10% , - . , . ( - Internet Explorer):