Sha256: d7ae124dd275cc019d8ee3a54653716121cc67f0b5cd0b359ed4d60d9fc0cd04
Contents?: true
Size: 680 Bytes
Versions: 99
Compression:
Stored size: 680 Bytes
Contents
$(document).ready(function(){ $(window).scroll(function() { var $scroll = $(window).scrollTop(); if ($scroll > 50){ $(".remove-name").removeClass("patient-name"); } else { $(".remove-name").addClass("patient-name"); } }); // Auto select the active tab based on the url, unless the subnav has the no-js-selection class $(".sub-nav:not('.no-js-selection') dd").each(function(){ var $href = $(this).find("a").attr('href'); if ($href === window.location.pathname) { $(this).addClass('active'); } }); $(document).foundation({ "magellan-expedition": { destination_threshold: 30, fixed_top: 49 } }); });
Version data entries
99 entries across 99 versions & 1 rubygems