
Chapter 13
316
Inserting an ActiveX control
ActiveX controls (formerly known as OLE controls) are reusable components,
somewhat like miniature applications, that can act like browser plugins. They run
in Internet Explorer with Windows, but they don’t run on the Macintosh or in
Netscape Navigator. The ActiveX object in Dreamweaver lets you supply
attributes and parameters for an ActiveX control in your visitor’s browser.
Dreamweaver uses the
object
tag to mark the place on the page where the
ActiveX control will appear, and to provide parameters for the ActiveX control.
To insert ActiveX control content:
1
In the Document window, place the insertion point where you want to insert
the content and do one of the following:
•
Click the ActiveX button in the Objects panel.
•
Choose Insert > Media > ActiveX.
•
Drag and drop the ActiveX icon.
An icon marks where the ActiveX control will appear on the page in
Internet Explorer.
Setting ActiveX properties
After inserting an ActiveX object, use the Property inspector to set attributes of
the
object
tag and parameters for the ActiveX control. Click Parameters in the
Property inspector to enter names and values for properties that don’t appear in
the Property inspector. There is no widely accepted standard format for
parameters for ActiveX controls; to find out which parameters to use, consult the
documentation for the ActiveX control you’re using.
The Property inspector initially displays the most commonly used properties.
Click the expander arrow in the lower right corner to see all properties.
Name
specifies a name to identify the ActiveX object for scripting. Enter a name
in the unlabeled field on the far left side of the Property inspector.
W and H
specify the width and height of the object in pixels. You can also specify
the following units: pc (picas), pt (points), in (inches), mm (millimeters), cm
(centimeters), or % (percentage of the parent object’s width and height). The
abbreviations must follow the value without a space: for example, 3mm.
Class ID
identifies the ActiveX control to the browser. Enter a value or choose one
from the pop-up menu. When the page is loaded, the browser uses the class ID to
locate the ActiveX control required for the ActiveX object associated with the
page. If the browser doesn’t locate the specified ActiveX control, it attempts to
download it from the location specified in Base.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...