add Ox.FileInput

This commit is contained in:
rolux 2012-03-23 17:55:55 +01:00
commit 1320fb68aa
6 changed files with 329 additions and 0 deletions

View 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>

View 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);
});