Examples

All the examples of DynAPI have been embedded in a DFrame:

file: advanced.dynAPI.html

Run the example

See the source code

About the examples:

Limitations

This set of example is "under construction" and is given as it.

o        IE: Everything seems to work without any problemexcept that knobs of scrollbars cannot be dragged.

o        NS4 and NS6: Some problems are to be fixed.

o        NS4: It seems that if many examples are loaded simultaneously NS4 may crash.

api.setHTML.html:

OK with IE / NS6, does not work with NS4

event.nocontextual.html:

IE / NS6 and 4: Do not work (context menu is not canceled).

ext.inline.html:

OK with IE / NS6, does not work  - normal - with NS4

gui.buttonImage

NS6: The image is visible only after resize. NS4: The resize function does not work.

gui.dynimage.html:

OK with IE / NS6, some little problems with NS4 (image resize)

gui.label.html:

OK with IE / NS6, some little problems with NS4 (wrap text)

gui.list.html:

The tab in the bottom of the page:

<a href="#" onClick="list.setWidth(150)">150</a>

had to be replaced by

<a href="Javascript:list.setWidth(150)">150</a>

gui.loadpanel.html:

The original loadpanel.js from DynAPI has been modified and renamed to loadpanelForDFrame.js. Some lines are modified in order that the document object accessed is replaced by an access to the document contained in the IFrames of the DFrames (this.doc.parentWindow.document for IE and this.doc.defaultView.window.document for NS6).

IE: Only works with the useIFrame option.

NS6: OK.

NS4: Works for a first file, not on second attempt: All Javascript variables are lost.

gui.scrollbar.html and gui.scrollpane.html

IE: Impossible to drag knobs

NS6: Does not work: knobs do not slide and are not dragable.

NS4: OK

An other example of utilisation of DynAPI is

file: acrossTheRiver.html

Run the example

See the source code