1/* Create By M.Ghadimi */ 2 var dp_heightSticky = {}; 3 $(document).ready(function() { 4 $("div[data-uk-sticky]").on('active.uk.sticky', function () { 5 if ($(this).attr("data-auto-sticky") == "true") 6 { 7 var section = $(this).parents("div[type='pane']").attr("class").replace('-', '_'); 8 9 if (!(eval('dp_heightSticky.' + section))) { 10 eval("$.extend(dp_heightSticky, {"+ section +": 0})"); 11 } 12 13 $(this).css("top", eval("dp_heightSticky." + section) + "px"); 14 eval('dp_heightSticky.'+ section +' += ' + (parseInt($(this).height()) + parseInt($(this).css("padding-top")) + parseInt($(this).css("padding-bottom")) + 3)); 15 console.log(dp_heightSticky); 16 } 17 }); 18 $("div[data-uk-sticky]").on('inactive.uk.sticky', function () { 19 if ($(this).attr("data-auto-sticky") == "true") 20 { 21 var section = $(this).parents("div[type='pane']").attr("class").replace('-', '_'); 22 23 if (!(eval('dp_heightSticky.' + section))) { 24 eval("$.extend(dp_heightSticky, {"+ section +": 0})"); 25 } 26 27 $(this).css("top", eval("dp_heightSticky." + section) + "px"); 28 eval('dp_heightSticky.'+ section +' -= ' + (parseInt($(this).height()) + parseInt($(this).css("padding-top")) + parseInt($(this).css("padding-bottom")) + 3)); 29 console.log(dp_heightSticky); 30 } 31 }); 32 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.