var script=jQuery.noConflict(); script(document).ready(function($) { function onAfter(curr, next, opts, fwd) { var $ht = $(this).height(); //set the container's height to that of the current slide $(this).parent().animate({height: $ht}); } $(".imgLiquidFill").imgLiquid(); $(function() { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 10) { $('#header-holder').css({ "padding": "5px 0" }); } else { $('#header-holder').css({ "padding": "20px 0" }); } }); }); }); var menufix=jQuery.noConflict(); menufix(function($) { $(window).resize(function() { if ($(window).width() < 768) { $(".dropdown-toggle").attr('data-toggle', 'dropdown'); } else { $(".dropdown-toggle").removeAttr('data-toggle dropdown'); } }); });