User:Hennils/wikia.js

// -- loader $(document).ready(function {	if ($('#MaximizationContainer').length) { // stuff before the frame stats	var html = " ";	//frame stats	html += " ";	// occasional stuff	html += " ";	//ability stats	html += " "; } }); function loadMod(name, ranks, bonus, malus, badStat, statCell) { var html = ""+statCell+" " + name + " "; html += " "; html += " "; html += " "; html += "% "; if (malus) {// checks if malus is unequal 0 html += " "; html += "% "+badStat+" "; }	return html+" "; } function loadBuff(name, buffstr, bonus, stat, operation) { var html = " " + name + " "; if (buffstr!=1) {html += " "; html += " "; } else {html+="  ";} html += " "; html += operation+"% "+stat+" "; return html+" "; } function makeRow(text1, id, ph, value) { return " " + text1 + ":  <input id=" + id + " readonly placeholder=" + ph + " value=" + value + ">  "; } function statCell(stat, id, numOfMods) { return "<td rowspan="+numOfMods+" class='statCell'>" + stat + ": <input class='stats' id=" + id + " readonly value='100.00%'> "; } function spaaaace{ return "<tr class='spacer'>  "; } // updater--- //disable mod inputs as long as the mod is disabled $('.check').change(function {     alert('gh'); });