-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
101 lines (82 loc) · 3.05 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2/jquery.min.js"></script>
<!-- demo only -->
<link href="demo/demo.css" rel="stylesheet">
<!-- wowhead tooltips -->
<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>
<script>var wowhead_tooltips = { "colorlinks": true, "iconizelinks": true, "renamelinks": true }</script>
<!-- wow guild news plugin -->
<link href="css/wowguildnews.css" rel="stylesheet">
<script src="js/jquery.wowGuildNews.js"></script>
<script type="text/javascript">
jQuery(function($){
$('.guildnews').wowGuildNews({
// ** Appearance **
// number of news items to show; 25 max
show : 25,
// small icon size ( true = 18x18; false = 56x56 )
// 18x18 and 56x56 are the actual icon image sizes, adjust as desired in the css
small : true,
// ** Guild Info ***
// battlenet domain - "us", "eu", "kr", "tw" or "sea"; use "cn" for china
region : "us",
// locale - "en", "es", "pt", "en", "fr", "ru", "de", "it", "ko" or "zh"
locale : "en",
// game server name; include spaces and apostrophes
server : "Durotan",
// guild name; include spaces and apostrophes
guild : "The Disreputable Dogs",
// *** Language ***
text : {
// guild info
"guildinfo" : "(Level {level} {faction} Guild, {server})",
"faction" : [ "Alliance", "Horde" ],
// news listing
// [icon] Fred purchased [Foo]. 1 hour ago.
// [icon] Barney crafted [Bar]. Yesterday.
// [icon] Dino earned the achievement [Bark] for 10 points. 45 minutes ago.
// [icon] The guild earned the acheivement [Super Foo] for 10 points. Just now.
"item" : "{icon} {player} {action} {item}. {time}",
"achv" : "{icon} {player} earned the achievement {ach} for {points} points. {time}",
// item actions; replaces {action} above
"obtained" : "obtained",
"crafted" : "crafted",
"purchased" : "purchased",
// guild achievement
// (replaces {player} for guild achievements) "The guild earned..."
"guild" : "The guild",
// time
"future" : "in",
"past" : "ago",
"recent" : "Recently", // only shown if time is somehow negative - issues with daylight savings?
"now" : "Just now",
"min" : "1 minute",
"mins" : "minutes",
"hour" : "1 hour",
"hours" : "hours",
"yday" : "Yesterday",
"days" : "days",
"weeks" : "weeks"
},
// Battle.net armory shows future times (e.g. "in 10 minutes")
// to change all future times to show "Recently", set this option to false
showFutureTime : true,
// *** tooltip URLs ***
itemTooltip : "http://{locale}.wowhead.com/item={id}",
achTooltip : "http://{locale}.wowhead.com/achievement={id}",
// ** Callbacks **
// initialized callback function
// el = $('.guildnews') - element that the plugin is initialized on
initialized: function(el){}
});
});
</script>
</head>
<body>
<div id="wrapper">
<div class="guildnews"></div>
</div>
</body></html>