-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframe.html
38 lines (31 loc) · 1.09 KB
/
frame.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Push Bullet for webOS</title>
<link rel="stylesheet" href="main.css" type = "text/css">
<link rel="stylesheet" href="reset.css" type = "text/css">
<script src="http://alexschneider.github.io/pushbullet-js/pushbullet.min.js" type="text/javascript"></script>
</head>
<body>
<nav class=menu>
<div class = "title">
<br/><br/>
<h1>Push Bullet</h1>
<h2>for webOS</h2>
</div>
<br/>
<ul>
<li><a href="#" onclick="load_content('contents','pages/me.html')">me</a><br/></li>
<li><a href="#" onclick="load_content('contents','pages/friends.html')">friends</a><br/></li>
<li><a href="#" onclick="load_content('contents','pages/setting.html')">setting</a><br/></li>
</ul>
</nav>
<object id="contents" type="text/html" data="pages/me.html"></object>
<script type="text/javascript">
function load_content ( id , content) {
document.getElementById( id ).setAttribute("data",content);
}
</script>
</body>
</html>