-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogos.html
More file actions
73 lines (59 loc) · 2.18 KB
/
logos.html
File metadata and controls
73 lines (59 loc) · 2.18 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<!-- Title -->
<title>Accclaim: Logos</title>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- JavaScript -->
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/jquery.jribbble.min.js"></script>
<!-- <script src="js/hook.js" type="text/javascript"></script> -->
<!-- Analytics -->
</head>
<!-- Body Content -->
<body>
<ul id="shotsListing" >
<img src="/images/hook-spinner.gif">
</ul>
<script type="text/javascript">
$(document).ready(function(){
getShotsList(1);
$("nav .pagination").click(function(e){
e.preventDefault();
$(this).siblings(".sel").removeClass("sel");
$(this).addClass("sel");
var newnum = $(this).html();
getShotsList(newnum);
});
function getShotsList(p){
$.jribbble.getShotsThatPlayerLikes("accclaim", function(data){
var html = [];
$.each(data.shots, function (i, shot) {
html.push('<li>');
html.push('<div class="sidebar">')
html.push('<a class="profpic" href="' + shot.player.url + '"><img src="' + shot.player.avatar_url + '" alt="' + shot.player.name + '"></a> ');
// html.push('<a class="like" href="' + shot.url + '/fans"><img src="/images/like.png"></a>')
// html.push('<a class="like" href="' + shot.url + '/fans" title="Like"></a>')
// html.push('<a class="follow" href="' + shot.player.url + '/followers" title="Follow"></a>')
// html.push('<a class="bucket" href="' + shot.url + '/buckets" title="Bucket"></a>')
html.push('</div>')
html.push('<a class="shots" href="' + shot.url + '" target="_blank" class="linkc">');
html.push('<img src="' + shot.image_teaser_url + '" alt="' + shot.title + '">');
html.push('</a></li>');
});
$('#shotsListing').html(html.join(''));
}, {page: p, per_page: 20});
}
});
</script>
<!-- <div id="hook">
<div id="loader">
<div class="spinner"></div>
</div> -->
<!-- <span id="hook-text">Reloading...</span> -->
</div>
</body>
</html>