Welcome to the RuneGlory Wiki, where we do our best to make your life easier!

You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).

Difference between revisions of "User:Jplayer"

From RuneGlory
Jump to: navigation, search
 
(12 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>
<table style="width: 255px; table-layout: fixed; text-align: center;">
+
<!-- COLOR -->
<tr>
+
<p style="font-weight: bold;">Color</p>
<th style="text-align: center!important;">Picture</th>
+
<input id="color" type="color" value="#C0C0C0" class="update">
<td><img src="https://i.imgur.com/IjntxFL.png"></td>
+
<br>
</tr>
+
<br>
<tr>
+
<!-- GLOW COLOR -->
<th style="text-align: center!important;">Min price</th>
+
<p style="font-weight: bold;">Glow Color</p>
<td>10.000.000</td>
+
<input id="glowColor" type="color" value="#C0C0C0" class="update">
</tr>
+
<br>
<tr>
+
<br>
<th style="text-align: center!important;">Max price</th>
+
<!-- GLOW RADIUS -->
<td>15.000.000</td>
+
<p style="font-weight: bold;">Glow Radius</p>
</tr>
+
<div class="itemBackground"><input id="glowRadius" type="range" min="0" max="1000" value="1000" class="update"></div>
<tr>
+
<br>
<th style="text-align: center!important;">Donator</th>
+
<!-- TEXT FORMATTING -->
<td>No</td>
+
<p style="font-weight: bold;">Text Formatting</p>
</tr>
+
<div class="itemBackground" style="padding: 10px;">
<tr>
+
<label><input type="checkbox" id="bold" class="update" checked=""><div style="line-height: 20px;">Bold</div></label>
<th style="text-align: center!important;">Tradeable</th>
+
<label><input type="checkbox" id="italic" class="update"><div style="line-height: 20px;">Italic</div></label>
<td>Yes</td>
+
<label><input type="checkbox" id="strikethrough" class="update"><div style="line-height: 20px;">Strikethrough</div></label>
</tr>
+
<label><input type="checkbox" id="glitter" class="update"><div style="line-height: 20px;">Glitter</div></label>
<tr>
+
</div>
<th style="text-align: center!important;">Noteable</th>
+
<br>
<td>Yes</td>
+
<!-- PREVIEW -->
</tr>
+
<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;">
<th style="text-align: center!important;">Stackable</th>
+
<span id="preview"></span>
<td>No</td>
+
</div>
</tr>
+
<br>
<tr>
+
<!-- HTML CODE -->
<th style="text-align: center!important;">Equipable</th>
+
<p style="font-weight: bold;">HTML Code</p>
<td>Yes</td>
+
<input type="text" id="code">
</tr>
+
 
</table>
+
 
<table style="width: 425px; table-layout: fixed; text-align: center;">
+
 
<tr>
+
 
<th style="text-align: center!important;">Type</th>
+
 
<th style="text-align: center!important;">Att bonus</th>
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<th style="text-align: center!important;">Def bonus</th>
+
<script type="text/javascript">
<th style="text-align: center!important;" colspan="2">Skill requirements</th>
+
 
</tr>
+
update();
<tr>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/XveJinC.png"></th>
+
$( "input.update" ).change( function() {
<td id="ab_stab"></td>
+
update();
<td id="db_stab"></td>
+
});
<th style="text-align: center!important;"><img src="https://i.imgur.com/5ZxA3wR.png" style="height: 30px;"></th>
+
 
<td id="sr_defence"></td>
+
function update() {
</tr>
+
 
<tr>
+
var text = $( "input#text" ).val();
<th style="text-align: center!important;"><img src="https://i.imgur.com/aTbTRxt.png"></th>
+
var color = $( "input#color" ).val();
<td id="ab_slash"></td>
+
var glowColor = $( "input#glowColor" ).val();
<td id="db_slash"></td>
+
var glowRadius = $( "input#glowRadius" ).val() / 100;
<th style="text-align: center!important;"><img src="https://i.imgur.com/lFeARW8.png" style="height: 30px;"></th>
+
 
<td id="sr_attack"></td>
+
// TEXT SHADOW
</tr>
+
 
<tr>
+
if ( glowRadius == 0 ) {
<th style="text-align: center!important;"><img src="https://i.imgur.com/tI6aZWK.png"></th>
+
var textShadow = "text-shadow: none;";
<td id="ab_crush"></td>
+
} else {
<td id="db_crush"></td>
+
var textShadow = "text-shadow: 0 0 " + glowRadius + "px " + glowColor + ";";
<th style="text-align: center!important;"><img src="https://i.imgur.com/v7CM3yV.png" style="height: 30px;"></th>
+
}
<td id="sr_strenght"></td>
+
 
</tr>
+
// TEXT FORMATTING
<tr>
+
 
<th style="text-align: center!important;"><img src="https://i.imgur.com/80TPEPp.png"></th>
+
if ( $( "input#bold" ).is( ":checked" ) ) {
<td id="ab_magic"></td>
+
var fontWeight = "bold;";
<td id="db_magic"></td>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/Yh28JyT.png" style="height: 30px;"></th>
+
var fontWeight = "normal;";
<td id="sr_ranged"></td>
+
}
</tr>
+
 
<tr>
+
if ( $( "input#italic" ).is( ":checked" ) ) {
<th style="text-align: center!important;"><img src="https://i.imgur.com/xACgS5I.png"></th>
+
var fontStyle = "italic;";
<td id="ab_range"></td>
+
} else {
<td id="db_range"></td>
+
var fontStyle = "initial;";
<th style="text-align: center!important;"><img src="https://i.imgur.com/54JcLkG.png" style="height: 30px;"></th>
+
}
<td id="sr_magic"></td>
+
 
</tr>
+
if ( $( "input#strikethrough" ).is( ":checked" ) ) {
<tr>
+
var textDecoration = "line-through;";
<th style="text-align: center!important;" colspan="3">Other bonuses</th>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/SwPB2vN.png" style="height: 30px;"></th>
+
var textDecoration = "initial;";
<td id="sr_hitpoints"></td>
+
}
</tr>
+
 
<tr>
+
if ( $( "input#glitter" ).is( ":checked" ) ) {
<th style="text-align: center!important;"><img src="https://i.imgur.com/v7CM3yV.png" style="height: 30px;"></th>
+
var background = "url(http://forum.grinderscape.org/images/Crowns/Glitter.gif);";
<td id="ob_strenght" colspan="2"></td>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/CpPlErx.png" style="height: 30px;"></th>
+
var background = "none;";
<td id="sr_prayer"></td>
+
}
</tr>
+
 
<tr>
+
var textFormatting = "font-weight:" + fontWeight + "font-style:" + fontStyle + "text-decoration:" + textDecoration + "background:" + background;
<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>
+
var style = "color:" + color + ";" + textShadow + textFormatting;
<th style="text-align: center!important;"><img src="https://i.imgur.com/jgAlsxq.png" style="height: 30px;"></th>
+
$( "span#preview" ).html( text ).attr( "style", style );
<td id="sr_slayer"></td>
+
 
</tr>
+
$( "input#code" ).val( "<span style='" + style + "'>" + text + "</span>"  );
<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>
+
</script>
</tr>
 
<tr>
 
<td id="class"></td>
 
<td id="degradable" colspan="2"></td>
 
<td id="slot" colspan="2"></td>
 
</tr>
 
</table>
 
<div id="database_result"></div>
 
<div id='item_database' hidden><div item='abyssal vine whip'>Abyssal vine whip;12000;10000000000;12000000000;No;Yes;No;No;Yes;+1;+2;+3;+4;+5;+6;+7;+8;+9;+10;+11;+12;Mainhand;Melee;No;1;2;3;4;5;6;7;8;PP, PKP, OP;Wield for combat.;Notes</div><div item='torva platebody'>Torva platebody;12000;10000000000;12000000000;No;Yes;No;No;Yes;+15;+95;+15;+15;+0;+10;+10;+10;+10;+10;+10;+10;Torso;Melee;No;80;1;1;1;1;80;1;1;PP, PKP, OP;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