Widget:SupporterTabs

From Unforgotten Realms Wiki
Revision as of 04:58, 18 April 2017 by imported>Pillowkeeper
Jump to navigationJump to search

<style>

  1. supportContainer {
 background: rgba(68,68,68,0.2);
 border-radius: 15px;
 border: 2px solid #8b4513;
 padding-bottom: 20px;

}

  1. 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;

}

  1. buttons {
 text-align: center;
 position: relative;
 left: 35%;
 padding-top: 20px;

} </style>

<button id="b-s1" onclick="readbutton(this)"> Season One </button> <button id="b-s2" onclick="readbutton(this)"> Season Two </button>



<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>