Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
User:Dragonjet/scripts/VotingTemplate.js
(view source)
Revision as of 14:43, 6 November 2014
239 bytes removed
,
10 years ago
m
Undo revision 165723 by
Dragonjet
(
talk
) undo
Line 1:
Line 1:
$(document).ready(function(){
$(document).ready(function(){
−
// Voting Mechanism
if($(".sc_vote").length>0){
if($(".sc_vote").length>0){
var sc_total = $(".sc_vote").length;
var sc_total = $(".sc_vote").length;
Line 21:
Line 20:
$(".sc_tally_val", this).text(Math.round(sc_tally_percent)+"%");
$(".sc_tally_val", this).text(Math.round(sc_tally_percent)+"%");
});
});
−
}
−
−
// Small Audio Player
−
if($(".ogg_player").length>0){
−
$(".ogg_player").css("height", "23px !important");
−
$(".ogg_player").css("overflow", "hidden");
−
$(".ogg_player button").css("width", "50px !important");
}
}
});
});
Dragonjet
15
edits