Skip to content

Commit e0c74cf

Browse files
committed
* upd example
1 parent a8c7a33 commit e0c74cf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

example.userpic.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<!DOCTYPE html>
2+
<!--
3+
4+
5+
~~~ Это пример создания загрузки фото! ~~~
6+
7+
8+
1. Скопируйте исходники себе в проект
9+
2. Разместите crossdomain.xml на домене, куда будут грузиться файлы
10+
3. Укажите правильный путь к флешкам, он задаётся через "staticPath"
11+
4. ...
12+
5. Profit!
13+
14+
15+
16+
-->
217
<html>
318
<head>
419
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -12,7 +27,15 @@
1227

1328
<title>FileAPI :: UserPic :: example</title>
1429

30+
<script>
31+
// Объект настройки
32+
var FileAPI = {
33+
debug: true, // режим отладки
34+
staticPath: './235/' // путь до флешек
35+
};
36+
</script>
1537
<script src="./FileAPI.min.js"></script>
38+
1639
<style>
1740
.upload-link {
1841
color: #36c;

0 commit comments

Comments
 (0)