<style>
.collapsible {
  background-color: #2A9CB0; 
  color: white;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  border-bottom:solid 2px white;
}

.active, .collapsible:hover { 
  background-color: orange;
}

.collapsible:after { 
  content: '\002B';
  color: white; 
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}
 
.content {
  /*padding: 0 10px;*/
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  /*background-color: #f1f1f1;*/
  background-color:white;
}
.content li {
    display:block;
    border-bottom:dotted 1px ;
    width:100%;
    padding:6px 0px;
    padding-left:10px;
}
.content li:hover {
    background:#e2f0ff;
}
.content a {
    color:black;
    font-size:15px;
}
</style>



    
    <a href="./?src=website&page_id=admin/slider"><button class="collapsible">Slider</button></a>
    <a href="./?src=website&page_id=admin/slider"><button class="collapsible">Site Setting</button></a>
    <a href="./?src=website&page_id=admin/slider"><button class="collapsible">Enquiry List</button></a>
    <a href="./?src=website&page_id=admin/slider"><button class="collapsible">Payment List</button></a>



    
   
<script>
var coll = document.getElementsByClassName("collapsible");
var i;

for (i = 0; i < coll.length; i++) {
  coll[i].addEventListener("click", function() {
    this.classList.toggle("active");
    var content = this.nextElementSibling;
    if (content.style.maxHeight){
      content.style.maxHeight = null;
    } else {
      content.style.maxHeight = content.scrollHeight + "px";
    } 
  });
}

function showalert(val){
    alert('You do not have permission to access '+ val);
}

</script>