jQuery plugin for World of Warcraft guild sites to list all members in guild
How to use
Include the script, stylesheet and jQuery then use the following options.
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="jquery.roster.min.js"></script>
<link rel="stylesheet" href="jquery.roster.css">
Select an element and set up the script.
$('.class_name').roster();
Options
$('.class_name').roster({
realm: 'Arathor',
guild: 'microtroll',
locale: 'eu',
lang: 'en'
});
Data
JSON file structure
{
"lastModified":1323345657000,
"name":"microtroll",
"realm":"Arathor",
"level":25,
"side":0,
"achievementPoints":1415,
"members":[{
"character":{
"name":"Dementika",
"realm":"Arathor",
"class":3,
"race":4,
"gender":1,
"level":85,
"achievementPoints":0,
"thumbnail":"arathor/160/23619232-avatar.jpg"
},
"rank":8
}]
}