Widget:DivineDecision: Difference between revisions
imported>Mayonnaisinator mNo edit summary |
imported>Pillowkeeper No edit summary |
||
| Line 88: | Line 88: | ||
$("div.filterLeft").append("<select id='mainFilter'><option>Season 3</option></select>"); | $("div.filterLeft").append("<select id='mainFilter'><option>Season 3</option></select>"); | ||
$("div.filterRight").append("<select id='seasonFilter-s3'><option>The Grand Paladin Order</option><option>The Senate of Deadlantis</option></select>"); | $("div.filterRight").append("<select id='seasonFilter-s3'><option>The Grand Paladin Order</option><option>The Senate of Deadlantis</option></select>"); | ||
$("#mainFilter").change(function() { | $("#mainFilter").change(function() { | ||
}); | }); | ||
| Line 111: | Line 109: | ||
$("#contHolder").append(SOD); | $("#contHolder").append(SOD); | ||
//Default | |||
$(".campBox").hide(); | |||
$("#GPO").show(); | |||
</script> | </script> | ||
Revision as of 07:27, 2 August 2017
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.0.min.js"></script>
<style> div.charFilter select{ border: 1px solid #000;
color: #fff; background: #444; position: relative; width: 150px; float: left; height: 25px; margin-right: 5px;
} div.charFilter{ display: inline-block;
padding-left: 15px;
padding-right: 15px;
width: 100%;
} div.filterLeft{ float: left; } div.filterRight{ float: right; }
div#decPanel {
text-align: center; background: rgba(68,68,68,0.2); border-radius: 15px; border: 2px solid #8b4513; padding: 10px;
display: inline-block;
min-width: 100%;
}
.blur {
filter:blur(6px); transition: filter 0.3s; -webkit-transition: filter 0.3s;
}
.blur:hover {
filter:blur(0px);
}
div.campTitle{
text-align: center; font-weight: bold; padding: 3px; font-family: "Cinzel Decorative"; font-size: 35px;
}
div.divDesc{ text-align: center; }
.dicChosen {
width: 600px; margin: 0 auto;
} .dicChoices{
display:inline; margin-bottom:30px;
width: 300px; } .dicImage{
display:block; width:inherit; margin-bottom:inherit; border-radius: 15px; border: 3px solid #F9E4CA;
}
.dicChoices table tbody, tr, td{ width: inherit; } </style>
<script>
$("div#decPanel").prepend("
");
$("div.filterLeft").append("<select id='mainFilter'><option>Season 3</option></select>"); $("div.filterRight").append("<select id='seasonFilter-s3'><option>The Grand Paladin Order</option><option>The Senate of Deadlantis</option></select>");
$("#mainFilter").change(function() { });
$("#seasonFilter-s3").change(function() { $(".campBox").hide(); if($(this).val() == "The Grand Paladin Order"){ $("#GPO").show(); } if($(this).val() == "The Senate of Deadlantis"){ $("#SOD").show(); } });
var GPO = '
| <img class="dicImage" style="float:left;" src="/images/a/a0/Gwyneth_GPO.png"> |
| You believe Gwyneth Sunsword, daughter to Virgo Sunsword, should be the next Grand Paladin. Choosing this path will push Gwyneth down her darkest storyline as she she hunts down Bopen the Skeleton King. |
| <img class="dicImage" style="float:right;" src="/images/c/c6/Lance_GPO.png"> |
| You believe Lance Willakers, leader of the Lightbeard Clan, should be the next Grand Paladin. Choosing this path will create the most aggressive Grand Paladin there will ever be. |
'; var SOD = '
| <img class="dicImage" style="float:left;" src="/images/b/b9/Bopen_SOD.jpg"> |
| You believe the Ageless of Deadlantis should go to war with the living. |
| <img class="dicImage" style="float:right;" src="/images/f/f3/Daedrik_SOD.jpg"> |
| You believe war would only bring ruin to Deadlantis and keep the relative peace. |
';
$("#contHolder").append(GPO); $("#contHolder").append(SOD);
//Default $(".campBox").hide(); $("#GPO").show();
</script>


