-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
94 lines (93 loc) · 9.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<title>Virtual Viewport Jquery plugin</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link href="css/normalize.css" rel="stylesheet">
<link href="css/foundation.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
</head>
<body>
<main>
<div class="row">
<div class="title">
<h1 class="heading">Virtual viewport demo</h1><a href="https://github.com/suenot/vv">Fork me</a>
</div><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 449.412 449.412"
style="enable-background:new 0 0 449.412 449.412;"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="russia.svg"><metadata
id="metadata47"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs45" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="480"
id="namedview43"
showgrid="false"
inkscape:zoom="1.4852937"
inkscape:cx="237.01081"
inkscape:cy="303.10455"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="Capa_1" /><g
id="g3"><path
d="M325.046,383.199c2.209,0,4-1.791,4-4v-19.142c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v19.142 C321.046,381.408,322.837,383.199,325.046,383.199z"
id="path5" /><path
d="M351.847,383.199c2.209,0,4-1.791,4-4v-19.142c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v19.142 C347.847,381.408,349.638,383.199,351.847,383.199z"
id="path7" /><path
d="M384.23,397.958h-3.823V335.98h2.31c1.27,0,2.465-0.603,3.219-1.625c0.754-1.022,0.978-2.342,0.604-3.555l-9.064-29.353 c-0.518-1.677-2.067-2.82-3.822-2.82h-9.675v-40.374c4.522-5.5,7.236-12.48,7.236-20.073c0-9.847-7.136-19.442-14.69-29.602 c-5.565-7.484-11.307-15.218-14.077-22.995v-18.698h6.848c2.209,0,4-1.791,4-4s-1.791-4-4-4h-6.848v-6.848c0-2.209-1.791-4-4-4 c-2.209,0-4,1.791-4,4v6.848h-6.848c-2.209,0-4,1.791-4,4s1.791,4,4,4h6.848v18.64c-3.079,7.888-8.679,15.482-14.107,22.833 c-7.539,10.208-14.66,19.85-14.66,29.822c0,7.501,2.651,14.403,7.074,19.872v40.576h-9.668c-1.755,0-3.305,1.144-3.822,2.82 l-9.063,29.353c-0.374,1.213-0.15,2.532,0.604,3.555c0.754,1.022,1.948,1.625,3.219,1.625h2.452v61.978h-17.678V279.022 c0-2.209-1.791-4-4-4h-5.611l-7.367-78.146h3.725h4.467c2.209,0,4-1.791,4-4s-1.791-4-4-4h-1.627l-28.83-82.55V83.394 c3.923-3.687,6.381-8.863,6.381-14.6c0-6.255-4.29-12.023-8.832-18.132c-3.089-4.153-6.26-8.441-7.812-12.631V18.848h6.848 c2.209,0,4-1.791,4-4s-1.791-4-4-4h-6.848V4c0-2.209-1.791-4-4-4s-4,1.791-4,4v6.848h-6.848c-2.209,0-4,1.791-4,4s1.791,4,4,4 h6.848v19.129c-1.723,4.267-4.819,8.48-7.832,12.561c-4.532,6.136-8.812,11.932-8.812,18.256c0,5.141,1.98,9.826,5.211,13.4v24.128 l-28.831,82.553h-1.626c-2.209,0-4,1.791-4,4s1.791,4,4,4h4.466h3.725l-7.366,78.146h-5.611c-2.209,0-4,1.791-4,4v118.936H149.34 v-46.56c2.164-0.052,3.905-1.814,3.905-3.99c0-2.209-1.791-4-4-4h-4.432v-58.206c6.69-5.961,10.778-13.891,10.778-22.586 c0-10.503-9.213-20.597-18.966-31.284c-7.16-7.845-14.545-15.949-18.123-24.078v-20.145h7.395c2.209,0,4-1.791,4-4s-1.791-4-4-4 h-7.395v-7.395c0-2.209-1.791-4-4-4s-4,1.791-4,4v7.395h-7.395c-2.209,0-4,1.791-4,4s1.791,4,4,4h7.395v20.077 c-3.973,8.249-11.177,16.209-18.161,23.912c-9.734,10.739-18.929,20.883-18.929,31.518c0,8.697,4.09,16.629,10.783,22.59v58.202 h-4.432c-2.209,0-4,1.791-4,4c0,2.179,1.744,3.943,3.912,3.991v46.559H65.182c-2.209,0-4,1.791-4,4v43.454c0,2.209,1.791,4,4,4 H384.23c2.209,0,4-1.791,4-4v-43.454C388.23,399.749,386.439,397.958,384.23,397.958z M370.701,306.628l6.593,21.353h-22.405 v-21.353H370.701z M338.447,278.209c-2.209,0-4,1.791-4,4v16.419h-13.693v-33.471c5.108,3.221,11.179,5.1,17.693,5.1 c6.446,0,12.457-1.839,17.531-4.998v33.369h-13.531v-16.419C342.447,280,340.656,278.209,338.447,278.209z M330.004,306.628h16.885 v21.353h-16.885V306.628z M372.407,335.984v61.974h-67.933v-61.974H372.407z M363.214,238.181c0,13.275-11.11,24.076-24.768,24.076 c-5.448,0-10.487-1.723-14.581-4.631l39.117-21.846C363.126,236.595,363.214,237.397,363.214,238.181z M326.775,213.11 c4.085-5.53,8.267-11.192,11.585-17.194c2.801,5.172,6.345,10.14,9.934,14.996l-32.482,19.038 C318.236,224.686,322.422,219.005,326.775,213.11z M353.079,217.38c2.73,3.739,5.235,7.367,7.072,10.819l-42.156,23.543 c-2.314-3.287-3.809-7.157-4.206-11.333L353.079,217.38z M306.036,306.628h15.968v21.353h-22.56L306.036,306.628z M259.91,188.876 h-2.486h-11.703l7.794-18.313L259.91,188.876z M253.783,196.876l1.722,18.265c-4.47,0.778-8.709,2.441-12.514,4.932 c-5.411-3.527-11.799-5.443-18.285-5.443c-6.487,0-12.874,1.916-18.286,5.443c-3.805-2.49-8.044-4.154-12.514-4.932l1.722-18.265 H253.783z M213.786,188.876l10.921-25.664l10.92,25.664H213.786z M203.935,228.133c0.728,0.576,1.605,0.864,2.483,0.864 c0.878,0,1.757-0.288,2.485-0.865c4.476-3.549,10.088-5.503,15.803-5.503c5.714,0,11.327,1.954,15.804,5.503 c1.454,1.153,3.512,1.154,4.968,0.001c3.182-2.52,6.856-4.211,10.781-4.996l2.259,23.959c-5.523,0.464-10.883,2.291-15.523,5.309 c-5.415-3.522-11.804-5.436-18.288-5.436c-6.484,0-12.872,1.913-18.286,5.435c-4.656-3.036-9.991-4.837-15.527-5.294l2.26-23.972 C197.078,223.921,200.752,225.613,203.935,228.133z M219.894,55.29c1.826-2.473,3.685-4.989,5.336-7.62 c1.664,2.672,3.575,5.241,5.452,7.766c3.566,4.795,7.252,9.752,7.252,13.358c0,6.751-5.672,12.244-12.644,12.244 c-6.972,0-12.644-5.493-12.644-12.244C212.647,65.104,216.167,60.337,219.894,55.29z M231.554,89.038v13.695h-13.695V89.038 H231.554z M216.792,110.733h15.827l16.976,48.609l-8.922,20.964l-12.287-28.878c-0.628-1.475-2.077-2.434-3.681-2.434 c-1.604,0-3.053,0.958-3.681,2.434l-12.288,28.877l-8.922-20.964L216.792,110.733z M195.897,170.563l7.794,18.313h-11.703h-2.486 L195.897,170.563z M190.142,255.08c5.014,0.396,9.82,2.237,13.794,5.38c1.454,1.149,3.509,1.152,4.962,0.001 c4.481-3.542,10.095-5.493,15.808-5.493c5.712,0,11.326,1.951,15.808,5.493c0.727,0.575,1.604,0.862,2.48,0.862 c0.877,0,1.754-0.287,2.48-0.862c3.95-3.123,8.784-5.004,13.793-5.407l1.882,19.965h-72.887L190.142,255.08z M178.616,283.022 h92.181v38.364h-15.742v-15.442c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442h-18.348v-15.442c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442 h-18.348v-15.442c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442h-15.743V283.022z M178.616,329.387h92.181v35.391h-15.742v-15.442 c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442h-18.348v-15.442c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442h-18.348v-15.442 c0-2.209-1.791-4-4-4s-4,1.791-4,4v15.442h-15.743V329.387z M178.616,372.777h92.181v25.181h-92.181V372.777z M130.716,236.726 c8.679,9.509,16.876,18.489,16.876,25.891c0,8.947-6.018,16.826-15.095,21.377c2.192-14.152-1.095-35.156-4.137-49.855 C129.145,235.004,129.931,235.866,130.716,236.726z M87.675,368.432v-17.018h53.666v17.018H87.675z M141.34,376.432v21.526H87.675 v-21.526H141.34z M114.504,315.591c-2.209,0-4,1.791-4,4v23.817H92.195v-52.686c6.429,3.402,14.087,5.388,22.307,5.388 c8.222,0,15.881-1.986,22.311-5.39v52.688h-18.309v-23.817C118.504,317.382,116.713,315.591,114.504,315.591z M111.916,220.226 c0.865-1.205,1.706-2.417,2.489-3.648c0.778,1.262,1.628,2.507,2.507,3.746c1.713,6.556,12.395,49.311,6.693,66.798 c-2.894,0.639-5.946,0.989-9.103,0.989c-3.235,0-6.36-0.366-9.318-1.036C99.486,269.468,110.289,226.435,111.916,220.226z M81.412,262.616c0-7.549,8.188-16.581,16.856-26.145c0.73-0.805,1.462-1.613,2.193-2.424c-3.038,14.664-6.337,35.657-4.176,49.836 C87.332,279.316,81.412,271.491,81.412,262.616z M380.23,441.412h-15.822V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632 h-16.673V426.78c0-2.209-1.791-4-4-4s-4,1.791-4,4v14.632h-16.673V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632h-16.673 V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632h-16.673V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632h-16.674 V426.78c0-2.209-1.791-4-4-4s-4,1.791-4,4v14.632h-16.673V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632h-16.673V426.78 c0-2.209-1.791-4-4-4s-4,1.791-4,4v14.632h-16.673V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632h-16.673V426.78 c0-2.209-1.791-4-4-4s-4,1.791-4,4v14.632h-16.673V426.78c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632H93.005V426.78 c0-2.209-1.791-4-4-4c-2.209,0-4,1.791-4,4v14.632H69.182v-35.454H380.23V441.412z"
id="path9" /></g><g
id="g13" /><g
id="g15" /><g
id="g17" /><g
id="g19" /><g
id="g21" /><g
id="g23" /><g
id="g25" /><g
id="g27" /><g
id="g29" /><g
id="g31" /><g
id="g33" /><g
id="g35" /><g
id="g37" /><g
id="g39" /><g
id="g41" /></svg>
</div>
</main>
<script src="js/jquery-2.1.3.min.js"></script>
<script src="js/jquery.browser.min.js"></script>
<script src="js/vv.js"></script>
<script type="text/javascript">
$(document).ready(function(){
vv(0, 320, 640);
vv(641, 1280, 1280);
vv(1281, 1400, 1400);
});
</script>
</body>
</html>