Using ActiveX Components with JScript (Note this page requires Internet Explorer 5.0 or later)
<HTML>
<HEAD>
<TITLE>ActiveX Demo</TITLE>
</HEAD>
<BODY>
<OBJECT ID="ProgressBar1" WIDTH=400 HEIGHT=33
CLASSID="CLSID:0713E8D2-850A-101B-AFC0-4210102A8DA7">
<PARAM NAME="_ExtentX" VALUE="10583">
<PARAM NAME="_ExtentY" VALUE="873">
<PARAM NAME="_Version" VALUE="327682">
<PARAM NAME="Appearance" VALUE="1">
</OBJECT>
<P>
<SCRIPT LANGUAGE="JavaScript" FOR="Slider1" EVENT="Change()">
<!--
ProgressBar1.value = Slider1.value
-->
</SCRIPT>
<OBJECT ID="Slider1" WIDTH=400 HEIGHT=33
CLASSID="CLSID:373FF7F0-EB8B-11CD-8820-08002B2F4F5A">
<PARAM NAME="_ExtentX" VALUE="10583">
<PARAM NAME="_ExtentY" VALUE="873">
<PARAM NAME="_Version" VALUE="327682">
<PARAM NAME="Max" VALUE="100">
</OBJECT>
<P><B>Move the slider and watch the progress bar change.</B></P>
</BODY>
</HTML>
Related examples in the same category