Sha256: 1d7eb485981cc9e2595c1bd1cbe73814b000505feb77cfe20a46e2972881d87c
Contents?: true
Size: 597 Bytes
Versions: 24
Compression:
Stored size: 597 Bytes
Contents
APP.features.mobile = { // animate the main button icons on hover: init: function () { $('.hint').hint(); // // mobile width // if ($(window).width() < 300) { // $("body").addClass('narrow'); // } else { // $("body").removeClass('narrow'); // } $('#head').on('click', '.navigation', function () { $that = $(this); $('#navigation').slideToggle(200, function () { if ($that.hasClass('down')) { $that.removeClass('down'); } else { $that.addClass('down'); } }); return false; }); } };
Version data entries
24 entries across 24 versions & 1 rubygems