摘要: //菜单固定随滚动条滑动 function navscroll(id){ var $sidebar = $(id), $window = $(window), offset = $sidebar.offset(), topPadding = 0; $window.scroll(function() 阅读全文
posted @ 2017-08-29 15:46 羊羊羊丶 阅读(185) 评论(0) 推荐(0)
摘要: //合并两数组,清除相同的项(长的数组放前面)var removeDuplication = function (arrA, arrB) { var i = 0, n = 0, lenA = arrA.length, lenB = arrB.length, _stack = []; outSide: 阅读全文
posted @ 2017-08-29 11:11 羊羊羊丶 阅读(285) 评论(0) 推荐(0)