-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (45 loc) · 2.5 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta property="og:title" content="Milkcocoaで作ったリアルタイムチャット" />
<meta property="og:type" content="chat" />
<meta property="og:description" content="BaaS(Milkcocoa)で作られたリアルタイムチャット" />
<title>Milkcocoaで作ったリアルタイムチャット</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://cdn.mlkcca.com/v0.6.0/milkcocoa.js"></script>
<script src="jquery.ba-throttle-debounce.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<div class="header">
<h1 class="logo">CHAT</h1>
</div>
<div class="container">
<div class="postarea cf">
<div class="postarea-text">
<textarea name="" id="content" cols="30" rows="10" placeholder="Enterで投稿"></textarea>
</div>
<div class="postarea-share cf">
<p>このチャットをシェアする!</p>
<div class="postarea-share-button cf">
<script>
var url = encodeURIComponent(location.href);
document.write('<iframe src="//www.facebook.com/plugins/like.php?href='+url+'&width&layout=button&action=like&show_faces=false&share=true&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px;" allowTransparency="true"></iframe>');
</script>
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="ja" data-count="none">ツイート</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>
<button id="post" class="postarea-button">投稿する</button>
</div>
</div>
<div id="messages" class="content">
<div id="dummy"></div>
</div>
<p class="footer"><strong>Powered by <a href="http://mlkcca.com/">Milkcocoa</a></strong></p>
</body>
</html>