-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
42 lines (41 loc) · 1.17 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
<html>
<head>
<title>Smart App Demo</title>
<meta name="author" content="Copy Left">
<meta name="google-play-app" content="app-id=com.sph.zippo">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="jquery.smartbanner.css" type="text/css" media="screen">
</head>
<body>
Open me on a IOS / Android mobile browser
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="jquery.smartbanner.js"></script>
<script src="browser-deeplink.js"></script>
<script type="text/javascript">
$(function () {
deeplink.setup({
iOS: {
appName: "Trezo",
appId: "950892346",
},
android: {
appId: "com.sph.zippo"
}
});
$.smartbanner({
title:'Trezo',
daysHidden: 1,
daysReminder: 1,
button: 'View in the Trezo app',
inGooglePlay: '',
price: '',
url: '#',
icon: 'http://trezo.sg/m/resources/icons/[email protected]',
onInstall: function() {
deeplink.open("trezosg://");
},
})
});
</script>
</body>
</html>