1$(document).ready(function () { 2 // Function to update image source based on device width 3 function updateImageSrc() { 4 var screenWidth = $(window).width(); 5 var imageUrl; 6 7 // Choose the appropriate image URL based on the device width 8 if (screenWidth <= 768) { 9 imageUrl = $("#divBackground").data('msrc'); 10 $("#divBackground").css("background-image", "url('" + imageUrl + "')"); 11 } 12 13 14 } 15 16 // Call the function on page load and window resize 17 $(window).on("load resize", updateImageSrc); 18}); 19
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.