You are here: Publishing and embedding a Scene > Properties for embedded code

Properties for embedded code

Use the SitePal Publish Wizard to set the properties for the code that you embed. The properties that you can set when you publish a Scene do not modify your Scene in any way. These properties affect only how your Scene appears inside the host Web page. You can give a Scene different embed-code properties so that the same Scene appears different across multiple Web pages.

You can set some or all of the following properties for Scene code that you embed by using the Publish Wizard. For example, you can set all of these properties when you use the Standard Web Page option of the Publish Wizard, and you can set only the Scene Dimensions and Background Color when you use the MySpace option.

Embed Property Description
Scene Dimensions

The contents of your entire Scene, including your background image, are re-sized to the dimensions you specify.

The suggested dimensions are 400 x 300 pixels. To use different dimensions, as you type a different width, the height is automatically calculated so that it appears proportionally to the specified width.

Background Color

Select a color from the palette by clicking on a color box or click Transparent. Alternatively, you can enter the RGB value for a color in the box centered below the palette.

Note: The color you select here also becomes the background color if you selected No Background from the Background Library in the Scene Editor.

Secure Protocol (HTTPS)

Select this check box if you want the embedded code for your Scene to work with the HTTPS (secure) protocol. This protocol is used by most Web-based e-commerce applications as well as private areas of Web sites.

Note: Although this format of HTTPS embed code works for both HTTP and HTTPS, it does not work in an HTML page launched from the desktop. The Web page must be launched from a Web server.

JavaScript API

Select this check box if you make VHost API calls from the Web page or if you have the set the Follow cursor in whole page option in the Scene Options window. Learn about the options that you can set for a Scene.

Note: Setting this property can increase the time a Scene requires to load.

 

See also