|
|
This next section is basically all the options listed in the Autodesks
help pages on whip!
The parts of
the embed tag for
Netscape Navigator include:
- name
The name portion enables you to give each DWF reference a unique name
that can be referenced by JavaScript. You can change this as desired.
This is unlike the name="Filename" item within the object tag.
- pluginspage
Pluginspage specifies a URL where users who do not have the WHIP! plug-in
can go to download the plug-in. Typically, this should remain unchanged.
Using Maintaining
WHIP! as a Download (whip4.exe)
Change the pluginspage
to point to page with a link to the location of the whip4.exe. When
a page with an embedded dwf file is called then the user is pointed
to another page(download.htm) with a link to download the whip4.exe.
pluginspage="http://ourserver/download.htm"
- width and
height
You can modify width and height as desired. In the example width and
height are specified in pixels; however, they may also be specified
as browser window percentages, for example 75%.
width=400
height=300
width=75%
height=75%
- src
Use src to specify the name of your own DWF file.
- View (see note)
The view portion is optional and specifies an initial view (in logical
coordinates) for your DWF file. The initial view is specified by 4 values:
left, right, bottom, top.
- Namedview (see
note)
The namedview portion is optional and specifies the name of an initial
view (using a named view already stored in the DWF file) for your DWF
file. If the specified named view has not been defined in the DWF file,
the option is ignored. If the value "*" (a single asterisk) is used,
it instructs WHIP! to compute a view equivalent to a Fit to Window command.
- layerson
or layersoff
The layerson or layersoff portion is optional and specifies the name
of a layer (using a layer already stored in the DWF file) for your DWF
file. If the specified layer has not been defined in the DWF file, the
option is ignored.
<param name="LayersOn" value="PLUMBING,FRAMING">
<param name="LayersOff" value="PLUMBING,FRAMING">
- userinterface
The userinterface parameter is optional. It specifies whether or not
the WHIP! right-click menu and cursor are displayed or hidden.
- backcolor
The backcolor parameter is optional. Use backcolor to specify a background
color for WHIP! The color value is a hexadecimal number.
Note:
Either a view or a namedview (not both) may be used to specify
an initial view. The specified initial view overrides the initial view that
is stored inside the DWF file. The parameters are case insensitive; however,
the values are not. In other words, you can use NamedView or namedview as
a parameter, but kitchen and KITCHEN are not the same. AutoCAD saves named
views in uppercase text.
|
|
|
|