SL4B Examples: Configuration Information

The SL4B script tag defined within the SL4B example pages contains the following configuration attributes:

Attribute Description
Name Value
id sl4b The identifier of the script tag element.
type text/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 and password attributes that are required by this page. It can also define any other configuration parameters required.