Widget:SupporterTabs: Difference between revisions
imported>Pillowkeeper No edit summary |
imported>Pillowkeeper No edit summary |
||
| Line 1: | Line 1: | ||
<style> | <style> | ||
#supportContainer { | #supportContainer { | ||
background: | background: rgba(68,68,68,0.2); | ||
border-radius: | border-radius: 15px; | ||
border: | border: 2px solid #8b4513; | ||
padding-bottom: 20px; | |||
} | } | ||
#s1, #s2 { | |||
border: 1px solid #000; | border: 1px solid #000; | ||
font-size: 14px; | font-size: 14px; | ||
| Line 12: | Line 13: | ||
background: #444; | background: #444; | ||
padding: 2px; | padding: 2px; | ||
position: relative; | |||
left: 35%; | |||
width: 220px; | |||
} | } | ||
| Line 18: | Line 21: | ||
background-color: #b36e14; | background-color: #b36e14; | ||
float: left; | float: left; | ||
border: | border: 1px solid #64320d; | ||
outline: none; | outline: none; | ||
cursor: pointer; | cursor: pointer; | ||
| Line 24: | Line 27: | ||
transition: 0.3s; | transition: 0.3s; | ||
display: inline; | display: inline; | ||
color: white; | |||
} | } | ||
#buttons { | #buttons { | ||
text-align: center; | text-align: center; | ||
position: relative; | |||
left: 35%; | |||
padding-top: 20px; | |||
} | } | ||
</style> | </style> | ||
<div id="supportContainer"> | <div id="supportContainer"> | ||
| Line 40: | Line 46: | ||
</button> | </button> | ||
</div> | </div> | ||
<br> | <br><br> | ||
<select id="s1"> | <select id="s1"> | ||
<option>Band of Thieves</option> | <option>Band of Thieves</option> | ||
Revision as of 04:58, 18 April 2017
<style>
- supportContainer {
background: rgba(68,68,68,0.2); border-radius: 15px; border: 2px solid #8b4513; padding-bottom: 20px;
}
- s1, #s2 {
border: 1px solid #000;
font-size: 14px; color: #fff; background: #444; padding: 2px; position: relative; left: 35%; width: 220px;
}
button {
background-color: #b36e14; float: left; border: 1px solid #64320d; outline: none; cursor: pointer; padding: 7px 16px; transition: 0.3s; display: inline; color: white;
}
- buttons {
text-align: center; position: relative; left: 35%; padding-top: 20px;
} </style>
<select id="s1">
<option>Band of Thieves</option>
<option>Porc Hunters</option>
<option>The Jewel of the Dingo Isles</option>
<option>The Many Gobos of Pat</option>
<option>The Sunswords</option>
<option>The Unseen Rogues</option>
<option>Kobold Headhunters</option>
<option>Zarlin Catacombs</option>
<option>The New Crew</option>
<option>Silvermine Mountains</option>
</select>
<select id="s2"> <option>Wood Carvers</option> <option>Okagnoma Guild Hall</option> <option>Murder Bros</option> <option>The Cobblers</option> <option>Tower of Ultimate Wizardry</option> <option>Unexpected Discovery</option> <option>The Buckeroos</option> <option>The Fall of Dundinborough</option> <option>Den of Devils</option> <option>Skeleton King</option> </select>
sdf
<script> $("#s1").show(); $("#s2").hide();
function readbutton(val){ if(val.id == "b-s2"){ $(".info").hide(); $('#s1').prop('selectedIndex',0); $("#s1").hide(); $("#s2").show(); } if(val.id == "b-s1"){ $(".info").hide(); $('#s2').prop('selectedIndex',0); $("#s1").show(); $("#s2").hide(); } }
$("#tabspace").slideUp(500); $("b-s1") $("select#s1").change(function () { if($(this).val() == "Porc Hunters"){ $("#tabspace").slideDown(500); } else { $("#tabspace").slideUp(500); } }); </script>


