summaryrefslogtreecommitdiffstats
path: root/theme-settings.js
blob: b40e2183ac32bb5e1ae9a0a7829c992ce61127ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(document).ready( function() {
  // Breadcrumb
  $('#edit-zen-breadcrumb').change(
    function() {
      div = $('#div-zen-breadcrumb-collapse');
      if ($('#edit-zen-breadcrumb').val() == 'no') {
        div.slideUp('slow');
      } else if (div.css('display') == 'none') {
        div.slideDown('slow');
      }
    }
  );
  if ($('#edit-zen-breadcrumb').val() == 'no') {
    $('#div-zen-breadcrumb-collapse').css('display', 'none');
  }
} );