Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

accordion.js 1008B

123456789101112131415161718192021222324252627282930313233
  1. "use strict";
  2. $(document).ready(function(){
  3. $( function() {
  4. var icons = {
  5. header: "zmdi zmdi-chevron-down",
  6. activeHeader: "zmdi zmdi-chevron-up"
  7. };
  8. $("#multi-open" ).accordion({
  9. heightStyle: "content",
  10. icons: icons
  11. });
  12. $( "#sclae-accordion" ).accordion({
  13. heightStyle: "content",
  14. icons: icons
  15. });
  16. $( "#single-open" ).accordion({
  17. heightStyle: "content",
  18. icons: icons
  19. });
  20. $( "#color-accordion" ).accordion({
  21. heightStyle: "content",
  22. icons: icons
  23. });
  24. } );
  25. if($(".accordion-msg").attr('aria-expanded') == 'true'){
  26. $(".accordion-msg").addClass("scale_active");
  27. }
  28. else{
  29. $(".accordion-msg").removeClass("scale_active");
  30. }
  31. });