-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRespond.html
33 lines (32 loc) · 1.04 KB
/
Respond.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
<!DOCTYPE html>
<html>
<head>
<title>Responsive: Getting Started Example</title>
<script type="text/javascript" src="js/jquery1.91.min.js"></script>
<script type="text/javascript" src="js/asdui.js"></script>
<script type="text/javascript" src="js/respond.js"></script>
<script type="text/javascript">
var onFunctions = {
on: {
is: {
xs: function(){console.log('is xs')},
sm: function(){console.log('is sm')},
md: function(){console.log('is md')},
lg: function(){console.log('is lg')}
}
,
was: {
xs: function(){console.log('was xs')},
sm: function(){console.log('was sm')},
md: function(){console.log('was md')},
lg: function(){console.log('was lg')}
}
}
};
new ZUI.Respond({functions:onFunctions});
</script>
</head>
<body>
<h1>Check console.log</h1>
</body>
</html>