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:39, 6 November 2014
239 bytes added
,
10 years ago
m
audio player test
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 20:
Line 21:
$(".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