We do our best to give you all information you need. Use the Search menu to search for the page you are looking for. The most used pages are on the side menu or in the Popular Pages page.

Do you miss important stuff or do you have suggestions? Let us know via Discord or in-game. Thank you for using our Wiki!

Difference between revisions of "User:Jplayer"

From GrinderScape Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
<p>Lorem ipsum dolor sit amet, per in omnium deleniti, usu amet bonorum insolens ei, no menandri inciderint quo. Ex usu iusto legere patrioque, vel magna maiorum at. Vim essent blandit te, ei omnes scripta facilis nam, est et tation contentiones consequuntur. Ea assum nemore habemus mei, pri eruditi officiis te. Est ea alii essent delectus, cu quo nonumy periculis, has aliquid denique perpetua ad. Ipsum disputationi id eum.</p>
+
<!-- TEXT -->
<div style="display: flex;">
+
<p style="font-weight: bold;">Text</p>
<input id="database_input" type="text">
+
<input type="text" maxlength="30" value="Usertitle" id="text" class="update">
<button id="database_button">Search</button>
+
<br>
</div>
+
<br>
<div id="search_results" hidden>
+
<!-- COLOR -->
<table style="width: 255px; table-layout: fixed; text-align: center; float: right; margin-left: 30px!important;">
+
<p style="font-weight: bold;">Color</p>
<tr>
+
<input id="color" type="color" value="#C0C0C0" class="update">
<th style="text-align: center!important;">Picture</th>
+
<br>
<td id="picture"></td>
+
<br>
</tr>
+
<!-- GLOW COLOR -->
<tr>
+
<p style="font-weight: bold;">Glow Color</p>
<th style="text-align: center!important;">Min price</th>
+
<input id="glowColor" type="color" value="#C0C0C0" class="update">
<td id="min_price"></td>
+
<br>
</tr>
+
<br>
<tr>
+
<!-- GLOW RADIUS -->
<th style="text-align: center!important;">Max price</th>
+
<p style="font-weight: bold;">Glow Radius</p>
<td id="max_price"></td>
+
<div class="itemBackground"><input id="glowRadius" type="range" min="0" max="1000" value="1000" class="update"></div>
</tr>
+
<br>
<tr>
+
<!-- TEXT FORMATTING -->
<th style="text-align: center!important;">Donator</th>
+
<p style="font-weight: bold;">Text Formatting</p>
<td id="donator"></td>
+
<div class="itemBackground" style="padding: 10px;">
</tr>
+
<label><input type="checkbox" id="bold" class="update" checked=""><div style="line-height: 20px;">Bold</div></label>
<tr>
+
<label><input type="checkbox" id="italic" class="update"><div style="line-height: 20px;">Italic</div></label>
<th style="text-align: center!important;">Tradeable</th>
+
<label><input type="checkbox" id="strikethrough" class="update"><div style="line-height: 20px;">Strikethrough</div></label>
<td id="tradeable"></td>
+
<label><input type="checkbox" id="glitter" class="update"><div style="line-height: 20px;">Glitter</div></label>
</tr>
+
</div>
<tr>
+
<br>
<th style="text-align: center!important;">Noteable</th>
+
<!-- PREVIEW -->
<td id="noteable"></td>
+
<p style="font-weight: bold;">Preview</p>
</tr>
+
<div style="padding: 30px; background-color: #1D1D1D; text-align: center; border: 1px solid #A2A2A2; font-size: 12px;">
<tr>
+
<span id="preview"></span>
<th style="text-align: center!important;">Stackable</th>
+
</div>
<td id="stackable"></td>
+
<br>
</tr>
+
<!-- HTML CODE -->
<tr>
+
<p style="font-weight: bold;">HTML Code</p>
<th style="text-align: center!important;">Equipable</th>
+
<input type="text" id="code">
<td id="equipable"></td>
+
 
</tr>
+
 
</table>
+
 
<h1 id="name"></h1>
+
 
<div>
+
 
<h2>Uses</h2>
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<p id="uses"></p>
+
<script type="text/javascript">
</div>
+
 
<div>
+
update();
<h2>Notes</h2>
+
 
<p id="notes"></p>
+
$( "input.update" ).change( function() {
</div>
+
update();
<div>
+
});
<h2>Sources</h2>
+
 
<p id="sources"></p>
+
function update() {
</div>
+
 
<table style="width: 425px; table-layout: fixed; text-align: center;">
+
var text = $( "input#text" ).val();
<tr>
+
var color = $( "input#color" ).val();
<th style="text-align: center!important;">Type</th>
+
var glowColor = $( "input#glowColor" ).val();
<th style="text-align: center!important;">Att bonus</th>
+
var glowRadius = $( "input#glowRadius" ).val() / 100;
<th style="text-align: center!important;">Def bonus</th>
+
 
<th style="text-align: center!important;" colspan="2">Skill requirements</th>
+
// TEXT SHADOW
</tr>
+
 
<tr>
+
if ( glowRadius == 0 ) {
<th style="text-align: center!important;"><img src="https://i.imgur.com/XveJinC.png"></th>
+
var textShadow = "text-shadow: none;";
<td id="ab_stab"></td>
+
} else {
<td id="db_stab"></td>
+
var textShadow = "text-shadow: 0 0 " + glowRadius + "px " + glowColor + ";";
<th style="text-align: center!important;"><img src="https://i.imgur.com/5ZxA3wR.png" style="height: 30px;"></th>
+
}
<td id="sr_defence"></td>
+
 
</tr>
+
// TEXT FORMATTING
<tr>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/aTbTRxt.png"></th>
+
if ( $( "input#bold" ).is( ":checked" ) ) {
<td id="ab_slash"></td>
+
var fontWeight = "bold;";
<td id="db_slash"></td>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/lFeARW8.png" style="height: 30px;"></th>
+
var fontWeight = "normal;";
<td id="sr_attack"></td>
+
}
</tr>
+
 
<tr>
+
if ( $( "input#italic" ).is( ":checked" ) ) {
<th style="text-align: center!important;"><img src="https://i.imgur.com/tI6aZWK.png"></th>
+
var fontStyle = "italic;";
<td id="ab_crush"></td>
+
} else {
<td id="db_crush"></td>
+
var fontStyle = "initial;";
<th style="text-align: center!important;"><img src="https://i.imgur.com/v7CM3yV.png" style="height: 30px;"></th>
+
}
<td id="sr_strenght"></td>
+
 
</tr>
+
if ( $( "input#strikethrough" ).is( ":checked" ) ) {
<tr>
+
var textDecoration = "line-through;";
<th style="text-align: center!important;"><img src="https://i.imgur.com/80TPEPp.png"></th>
+
} else {
<td id="ab_magic"></td>
+
var textDecoration = "initial;";
<td id="db_magic"></td>
+
}
<th style="text-align: center!important;"><img src="https://i.imgur.com/Yh28JyT.png" style="height: 30px;"></th>
+
 
<td id="sr_ranged"></td>
+
if ( $( "input#glitter" ).is( ":checked" ) ) {
</tr>
+
var background = "url(http://forum.grinderscape.org/images/Crowns/Glitter.gif);";
<tr>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/xACgS5I.png"></th>
+
var background = "none;";
<td id="ab_range"></td>
+
}
<td id="db_range"></td>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/54JcLkG.png" style="height: 30px;"></th>
+
var textFormatting = "font-weight:" + fontWeight + "font-style:" + fontStyle + "text-decoration:" + textDecoration + "background:" + background;
<td id="sr_magic"></td>
+
 
</tr>
+
var style = "color:" + color + ";" + textShadow + textFormatting;
<tr>
+
$( "span#preview" ).html( text ).attr( "style", style );
<th style="text-align: center!important;" colspan="3">Other bonuses</th>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/SwPB2vN.png" style="height: 30px;"></th>
+
$( "input#code" ).val( "<span style='" + style + "'>" + text + "</span>"  );
<td id="sr_hitpoints"></td>
+
 
</tr>
+
}
<tr>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/v7CM3yV.png" style="height: 30px;"></th>
+
</script>
<td id="ob_strenght" colspan="2"></td>
+
<th style="text-align: center!important;"><img src="https://i.imgur.com/CpPlErx.png" style="height: 30px;"></th>
+
<td id="sr_prayer"></td>
+
</tr>
+
<tr>
+
<th style="text-align: center!important;"><img src="https://i.imgur.com/CpPlErx.png" style="height: 30px;"></th>
+
<td id="ob_prayer" colspan="2"></td>
+
<th style="text-align: center!important;"><img src="https://i.imgur.com/jgAlsxq.png" style="height: 30px;"></th>
+
<td id="sr_slayer"></td>
+
</tr>
+
<tr>
+
<th style="text-align: center!important;">Class</th>
+
<th style="text-align: center!important;" colspan="2">Degradable</th>
+
<th style="text-align: center!important;" colspan="2">Slot</th>
+
</tr>
+
<tr>
+
<td id="class"></td>
+
<td id="degradable" colspan="2"></td>
+
<td id="slot" colspan="2"></td>
+
</tr>
+
</table>
+
</div>
+
<div id='item_database' hidden><div item='abyssal vine whip'>Abyssal vine whip;21371;12000000000;12000000000;No;Yes;No;No;Yes;+15;+95;+15;+15;+0;+10;+10;+10;+10;+10;+105;+7;Mainhand;Melee;No;1;75;1;1;1;1;1;80;part, pkp;Wield for combat.;</div><div item='torva platebody'>Torva platebody;20139;4000000000;4000000000;No;Yes;No;No;Yes;+10;+10;+12;-31;-11;+156;+140;+120;-10;+160;+7;+1;Torso;Melee;No;80;1;1;1;1;80;1;1;prem;Worn for protection.;</div></div>
+
 
</html>
 
</html>

Latest revision as of 00:25, 27 May 2016

Text



Color



Glow Color



Glow Radius


Text Formatting


Preview


HTML Code