PageSourceSearch

https://www.wikisigns.org/sites/all/themes/yellowed/js/menu.js?rqjvzr

js wikisigns.org collected 2026-10-02 10:13:13 UTC 1,016 bytes, 32 lines download raw bytes

1/**
2 * @file
3 * Yellowed Toggle Menu Javascript.
4 *
5 */
6(function ($) {
7Drupal.behaviors.menu = {
8attach: function (context, settings) {
9
10  $('.nav-toggle').click(function() {
11    $('#main-menu div ul:first-child').slideToggle(250);
12    return false;
13  });
14  if(($(window).width() > 640) || ($(document).width() > 640)) {
15      $('#main-menu li').mouseenter(function() {
16        $(this).children('ul').css('display', 'none').stop(true, true).slideToggle(250).css('display', 'block').children('ul').css('display', 'none');
17      });
18      $('#main-menu li').mouseleave(function() {
19        $(this).children('ul').stop(true, true).fadeOut(250).css('display', 'block');
20      })
21        } else {
22    $('#main-menu li').each(function() {
23      if($(this).children('ul').length)
24        $(this).append('<span class="drop-down-toggle"><span class="drop-down-arrow"></span></span>');
25    });
26    $('.drop-down-toggle').click(function() {
27      $(this).parent().children('ul').slideToggle(250);
28    });
29  }
30}
31};
32})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.