Home
»
Developer Zone
»
Products
»
Cortona VRML Client for Mac OS X
»
Using in HTML
Using in HTML
Scene size:
886bytes
To display a VRML world in a Web browser authors should use the
EMBED
element with the proper attributes in an HTML document.
Using EMBED tag
<EMBED SRC="/vrml/splines/cube3scriptless.wrl" TYPE="x-world/x-vrml" WIDTH="128" HEIGHT="128" VRML_SPLASHSCREEN="FALSE" VRML_DASHBOARD="FALSE" VRML_BACKGROUND_COLOR="#CDCDCD" CONTEXTMENU="FALSE" MASK="64,0,128,64,64,128,0,64">
where:
SRC
specifies the name of the VRML scene to be loaded.
TYPE
MIME type (must be "x-world/x-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.
MASK
allows to specify non-rectangle clipping region.
Last
updated
: Wed, 19 Nov 2008
© 2000-2008
ParallelGraphics
.
All rights reserved.