1$(document).ready(function () { 2 3 //headerlinkviewskeleton(); 4 5 //categoryviewskeleton(); 6 7 //herobannerskeleton(); 8 9 //cmsviewhomeskeleton(); 10 11 //productboosthomeskeleton(); 12 13 //productdiscounthomeskeleton(); 14}); 15 16function headerlinkviewskeleton() 17{ 18 var skeletonCount = 5; // Number of skeleton blocks to create 19 20 for (var i = 0; i < skeletonCount; i++) { 21 var skeletonDiv = $('<div class="skeleton headerlinkview"></div>'); 22 $('#dvHeaderLinkViewContainer').append(skeletonDiv); 23 } 24} 25 26function categoryviewskeleton() { 27 var skeletonCount = 5; // Number of skeleton blocks to create 28 29 for (var i = 0; i < skeletonCount; i++) { 30 var skeletonDiv = $('<div class="skeleton categoriescontainer"></div>'); 31 $('#dvCategoriesContainer').append(skeletonDiv); 32 } 33} 34 35function herobannerskeleton() { 36 37 38 39 var skeletonDiv = $('<div class="skeletonfade herobannercontainer"></div>'); 40 $('#dvHeroBannerContainer').append(skeletonDiv); 41 42} 43 44function cmsviewhomeskeleton() { 45 46 47 48 var skeletonDiv = $('<div class="skeletonfade cmsviewhomecontainer"></div>'); 49 $('#dvCMSViewhomeContainer').append(skeletonDiv); 50 51} 52 53function productboosthomeskeleton() { 54 var skeletonCount = 5; // Number of skeleton blocks to create 55 56 for (var i = 0; i < skeletonCount; i++) { 57 var skeletonDiv = $('<div class="productboosthomecontainer skeleton"></div>'); 58 $('#dvProductBoostHomeContainer').append(skeletonDiv); 59 } 60} 61 62function productdiscounthomeskeleton() { 63 var skeletonCount = 8; // Number of skeleton blocks to create 64 65 for (var i = 0; i < skeletonCount; i++) { 66 var skeletonDiv = $('<div class="productdiscounthomecontainer skeleton container"></div>'); 67 $('#dvProductDiscountContainer').append(skeletonDiv); 68 } 69}
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.