Home
»
Developer Zone
»
Products
»
Cortona3D Viewer
»
Using in HTML
Up to Cortona3D Viewer
OBJECT and EMBED parameters
Subscribe to Newsletter
site search:
%(domain)s
%(domain)s
Using in HTML
Scene size:
886bytes
To display a VRML world in a Web browser authors should use the
EMBED
or
OBJECT
(supported by Microsoft Internet Explorer) elements with the proper attributes in an HTML document.
Using EMBED tag
Using OBJECT tag
Using EMBED tag
<embed src="/vrml/splines/cube3scriptless.wrl" width="128" height="128" type="application/x-cortona" pluginspage="http://www.cortona3d.com/cortona" vrml_splashscreen="false" vrml_dashboard="false" vrml_background_color="#CDCDCD" contextmenu="false">
where:
SRC
specifies the name of the VRML scene to be loaded.
TYPE
MIME type (must be "model/vrml" for Cortona browser)
WIDTH, HEIGHT
standard formatting attributes.
VRML_SPLASHSCREEN
"TRUE" - turns on Cortona SplashScreen; "FALSE" - turns off.
VRML_DASHBOARD
"TRUE" - turns on horizontal and vertical toolbars; "FALSE" - turns off.
VRML_BACKGROUND_COLOR
"#rrggbb" specifies the background color of the 3D window (hexadecimal).
CONTEXTMENU
"TRUE" - enables context menu in the 3D window; "FALSE" - disables.
See full list of properties
Using OBJECT tag
Internet Explorer can automatically download Cortona if it is not already installed. It gives the opportunity to reduce download size and choose Cortona as VRML viewer despite the fact that the other VRML browser is installed on the user's computer. This technology provides to developers the CAB file for HTML-based Internet installations of Cortona.
<OBJECT CLASSID="CLSID:86A88967-7A20-11d2-8EDA-00600818EDB1" CODEBASE="http://www.cortona3d.com/bin/cortona3d.cab#Version=6,0,0,179" WIDTH="128" HEIGHT="128"> <PARAM NAME="SRC" VALUE="/vrml/splines/cube3scriptless.wrl"> <PARAM NAME="VRML_BACKGROUND_COLOR" VALUE="#CDCDCD"> <PARAM NAME="VRML_DASHBOARD" VALUE="false"> <PARAM NAME="VRML_SPLASHSCREEN" VALUE="false"> <PARAM NAME="CONTEXTMENU" VALUE="false"> </OBJECT>
component CAB file:
cortona3d.cab
, size:
0bytes
where:
CLASSID
identifies the Cortona ActiveX control for the browser. The value must be entered exactly as shown.
CODEBASE
CAB file with Cortona VRML Engine.
WIDTH, HEIGHT
standard formatting attributes.
Params (properties):
SRC
specifies the name of the VRML scene to be loaded.
VRML_SPLASHSCREEN
"TRUE" - turns on Cortona SplashScreen; "FALSE" - turns off.
VRML_DASHBOARD
"TRUE" - turns on horizontal and vertical toolbars; "FALSE" - turns off.
VRML_BACKGROUND_COLOR
"#rrggbb" specifies the background color of the 3D window (hexadecimal).
CONTEXTMENU
"TRUE" - enables context menu in the 3D window; "FALSE" - disables.
See full list of properties
home
·
web3d products
·
rapid products
·
downloads
·
pricing & ordering
·
developer zone
·
showroom
·
contact us
·
print
Last
updated
: Thu, 09 Feb 2012
© 2000-2011
ParallelGraphics
.
All rights reserved.
Terms of use
.