Web Connection User's Guide
Use the Embed part to add a plug-in program to your Web page. The
Embed part generates the HTML element embed.
(Plug-ins might not be supported by all browsers.)
To add an Embed part, select the Web Connection Category (
), then the Embed part (
). You can also add the part using the Add Part dialog and specifying
the class name, AbtHtmlEmbed.
The Embed part has the following properties:
- classId
- Use the classId property to specify the ID of the object (for
example, the ActiveX class). This property is used only if the
isUsingObjectTag property is set to true.
- eventHandlers
- Use the eventHandlers property to define any event handlers for
this part. Event handlers provide the ability to detect and react to
events that occur while an HtmlPage is loaded in a Web browser. An
example of an event handler is mouse over, where you can specify
when the mouse moves over an HTML element, something happens, usually a
JavaScript is executed..
- extraAttributes
- Use the extraAttributes property to specify any additional HTML
attributes that you want included in the HTML tagging generated by the
part. You can use this property to include HTML attributes that are not
directly supported by VisualAge.
- height
- Use the height property to specify the height of the area you
want the applet or embed to appear in. Use this property in conjunction
with the width property to specify the dimensions of the applet or
embed on the page.
- isUsingObjectTag
- Use the isUsingObjectTag property to specify whether you want
the part to generate the object element instead of the
embed element. Set this property to
true if you want to embed ActiveX or compatible objects.
- parameterLiteralText
- Use the parameterLiteralText property to literally type, or cut
and paste, parameters into a list rather than separating them into key value
pairs.
- parameters
- Use the parameters property to specify the parameters you want
to pass to the applet or embed.
- partName
- In the Part name field, type the name you want to use to
describe the part. For non-visual parts, this text appears under the
icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be
unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VisualAge
generates a unique name based on the class name of the part.
- source
- Use the source property to specify the location of the
embed. Make sure that the URL points to a location that your
client's Web browsers will have access to.
The source property maps to the HTML src
attribute.
- width
- Use the width property to specify the width of the area you
want the applet or embed to appear in. Use this attribute in
conjunction with the height property to specify the dimensions of
the applet or embed on the page.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]