These projects are retired. The development has stopped and we don't provide support for them anymore.

External layer source extension

Name

External source -- obtain a layer's content from an external source.

Synopsis

<SCRIPT LANGUAGE="JavaScript1.2" SRC="scripts/rl_source.js"</SCRIPT>
                  

Requires

Browser detection

Utility functions and classes

RelativeLayer

Functions

void finishContentsUpdate ( );

Methods

function RelativeLayer
{
void setSource ( String documentUrl );
};

Description

Details

Following is a detailed description of the elements listed in the synopsis.

Functions

finishContentsUpdate
     This function has to be called by the document that is dynamically loaded into the layer. It has to be entered as the last command in the document and should normally always look like this :
<SCRIPT LANGUAGE="JavaScript1.2">window.top.finishContentsUpdate();</SCRIPT>
This call is necessary since otherwise it's not possible on all browsers to dynamically update automatic document dimensions.

Methods

RelativeLayer

setSource
     Changes the contents of the layers by loading it from an external document. If the dimensions of the layer have to be calculated automatically, they will be updated according to the new content.

Parameters

documentUrl
the url of the external document that will be used as the new layer content.