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
 
(14 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="http://vignette3.wikia.nocookie.net/runescape2/images/f/f2/Stab_weakness_icon.png/revision/latest?cb=20121202021344"></th>
+
$( "input.update" ).change( function() {
<td>+15</td>
+
update();
<td>+10</td>
+
});
<th style="text-align: center!important;"><img src="https://i.imgur.com/5ZxA3wR.png" style="height: 30px;"></th>
+
 
<td>1</td>
+
function update() {
</tr>
+
 
<tr>
+
var text = $( "input#text" ).val();
<th style="text-align: center!important;"><img src="http://vignette2.wikia.nocookie.net/runescape2/images/0/0c/Slash_weakness_icon.png/revision/latest?cb=20121202020459"></th>
+
var color = $( "input#color" ).val();
<td>+95</td>
+
var glowColor = $( "input#glowColor" ).val();
<td>+10</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>75</td>
+
// TEXT SHADOW
</tr>
+
 
<tr>
+
if ( glowRadius == 0 ) {
<th style="text-align: center!important;"><img src="http://vignette3.wikia.nocookie.net/runescape2/images/4/4f/Crush_weakness_icon.png/revision/latest?cb=20121129223846"></th>
+
var textShadow = "text-shadow: none;";
<td>+15</td>
+
} else {
<td>+10</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>1</td>
+
 
</tr>
+
// TEXT FORMATTING
<tr>
+
 
<th style="text-align: center!important;"><img src="http://vignette2.wikia.nocookie.net/runescape2/images/a/ac/Magic_weakness_icon.png/revision/latest?cb=20121129175235"></th>
+
if ( $( "input#bold" ).is( ":checked" ) ) {
<td>+15</td>
+
var fontWeight = "bold;";
<td>+10</td>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/Yh28JyT.png" style="height: 30px;"></th>
+
var fontWeight = "normal;";
<td>1</td>
+
}
</tr>
+
 
<tr>
+
if ( $( "input#italic" ).is( ":checked" ) ) {
<th style="text-align: center!important;"><img src="http://vignette2.wikia.nocookie.net/runescape2/images/f/f9/Ranged_weakness_icon.png/revision/latest?cb=20121125030130"></th>
+
var fontStyle = "italic;";
<td>+0</td>
+
} else {
<td>+10</td>
+
var fontStyle = "initial;";
<th style="text-align: center!important;"><img src="https://i.imgur.com/54JcLkG.png" style="height: 30px;"></th>
+
}
<td>1</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>1</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 colspan="2">+105</td>
+
} else {
<th style="text-align: center!important;"><img src="https://i.imgur.com/CpPlErx.png" style="height: 30px;"></th>
+
var background = "none;";
<td>1</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 colspan="2">+7</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>80</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>Melee</td>
 
<td colspan="2">No</td>
 
<td colspan="2"><img src="http://vignette1.wikia.nocookie.net/runescape2/images/d/d1/Weapon_slot.png/revision/latest?cb=20141006131039&format=webp"></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;PP, PKP, OP;Wield for combat.;;1;2;3;4;5;6;7;8;9;10;11;12</div><div item='torva platebody'>Torva platebody;12000;10000000000;12000000000;No;Yes;No;No;Yes;PP, PKP, OP;Worn for protection.;;15;95;15;15;0;10;10;10;10;10;10;10</div></div>
 
 
</html>
 
</html>

Latest revision as of 00:25, 27 May 2016

Text



Color



Glow Color



Glow Radius


Text Formatting


Preview


HTML Code