Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Menu Sicky Start -->
- <script type="text/javascript">
- jQuery.noConflict();
- (function( $ ) {
- $(function() {
- // More code using $ as alias to jQuery
- var mn = $(".header");
- mns = "menu_sticky_now";
- //hdr = $('.header').height();
- hdr = 0;
- $(window).scroll(function() {
- if( $(this).scrollTop() > hdr ) {
- mn.addClass(mns);
- } else {
- mn.removeClass(mns);
- }
- });
- // More code using $ as alias to jQuery
- });
- })(jQuery);
- </script>
- <!-- Menu Sicky End -->
Add Comment
Please, Sign In to add comment