A complete application

In this second example a simple application will be created: 

A DFrame is used as a basis.

It contains buttons that allows inserting a HTML page in a first DFrame.

This HTML page contains links whose targets are in a second DFrame.

The styles are defined in an additional file, the file styleBlue.js.

Note:  The code uses the two following methods:

§         DFrame.setTarget redirects the links of a page towards another DFrame that the one containing the page.

§         DFrame.setMultipleTarget involves the creation of a new DFrame each time a link is activated.

Example:

file: application.html

Run the example

See the source code