add Ox.FileInput
This commit is contained in:
parent
260c513e8e
commit
1320fb68aa
6 changed files with 329 additions and 0 deletions
11
demos/fileinput/index.html
Normal file
11
demos/fileinput/index.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>OxJS FileInput Demo</title
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<script type="text/javascript" src="../../dev/Ox.js"></script>
|
||||
<script type="text/javascript" src="js/fileinput.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
16
demos/fileinput/js/fileinput.js
Normal file
16
demos/fileinput/js/fileinput.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Ox.load('UI', function() {
|
||||
|
||||
//Ox.Theme('modern');
|
||||
|
||||
Ox.FileInput({
|
||||
//maxFiles: 1,
|
||||
width: 256
|
||||
})
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: '16px',
|
||||
top: '16px'
|
||||
})
|
||||
.appendTo(Ox.UI.$body);
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue