SL4B Examples: Frameset: Master Page Configuration Information

The SL4B script tag defined within the master page contains the following configuration attributes:

Attribute Description
Name Value
id sl4b The identifier of the script tag element.
type text/javascript The mimetype for javascript, the language that the SL4B library has been written in.
src /sl4b/index.js The location of the SL4B library. This could be a full URL if separate servers are being used.
configurationfile ../../configuration/common-attributes.js The location of the configuration file that will be loaded. In this case it is relative to the web page's location. This file defines the user, password and enableflash attributes that are required by this page.
containerframelocation window.parent Defines the location of the common frame root shared by both the master and slave pages This is necessary to allow the master and slaves to communicate with each other. In this example, this attribute could have been omitted as the default value "top" would also have been valid.