Location: A review of cardiac cellular electrophysiology models @ 1c3a018574af / dojo-presentation / js / dojo / dojox / form / tests / test_FileInputOverlay.html

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2023-04-27 23:14:49-07:00
Desc:
Updates to get things working with OpenCOR 0.7.1
Permanent Source URI:
http://models.cellml.org/workspace/a1/rawfile/1c3a018574af68610e2b95973f32fa831ea3096f/dojo-presentation/js/dojo/dojox/form/tests/test_FileInputOverlay.html

FileInputOverlay

The following is an example of how FileInputOverlay's simple APIs can be tapped into, so you can build your own file input. For the file to actually upload, you'll need to have PHP enabled.

Browse...
Upload
Uploaded Files:

The main purpose behind FileInputOverlay is its ability to "attach" to buttons with as many different CSS styles as possible.
Below are tests for attaching to Dijit Buttons and a DIV. Some styles tested are inline, block, floats, margins and padding. See the test source code for the styles.

See the console for logging information.

Div Btn3
Btn 0
Btn 1
Btn 2