1$(document).ready(function() { 2 //h3 accessibility 3 $('h3.msl-title').replaceWith(function () { 4 return "<h1 class='msl-title'>" + $(this).html() + "</h1>"; 5 }); 6 7 $('#banner .news_item').each(function() { 8 $(this).find("h5,.leader, .msl_news_org").wrapAll('<div class="news-content"><div class="text-container"></div></div>'); 9 $(this).find(".news-content").insertAfter($(this).find(".news_image")); 10 }); 11 12 $('#banner .msl-item').each(function() { 13 $(this).find(".msl-organisation, .msl-title, .msl-leader").wrapAll('<div class="news-content"><div class="text-container"></div></div>'); 14 $(this).find(".news-content").insertAfter($(this).find(".msl-image")); 15 }); 16 $('#banner .msl-item .news-content').each(function() { 17 $(this).find(".msl-organisation").insertBefore($(this).find(".msl-title")); 18 }); 19 20 21 $('#banner .news_all, #banner .killfloat').remove(); 22 $('#banner .news_item').each(function() { 23 link = $(this).find('a').attr('href'); 24 leader = $(this).find('.leader'); 25 leaderText = leader.text(); 26 readMore = 'More' 27 leader.html(leaderText + '<a class="cta" href="' + link + '">' + readMore + '</a>'); 28 }); 29 30 $('#banner .msl-item').each(function() { 31 link = $(this).find('a').attr('href'); 32 leader = $(this).find('.msl-leader'); 33 leaderText = leader.text(); 34 readMore = 'More' 35 leader.html(leaderText + '<a class="cta" href="' + link + '">' + readMore + '</a>'); 36 }); 37 38 $('#banner > div').slick({ 39 dots: true, 40 arrows: false, 41 infinite: true, 42 fade:true, 43 autoplay: true, 44 speed: 200 45 }); 46 47 $(document).ready(function(){ 48 49 $('#homepagebanner').children('.killfloat').remove(); 50 $('#homepagebanner').children('.news_all').remove(); 51 52 $('.fade').fadeOut(); 53 if($('#homepagebanner .news_image').length > 1){ 54 $('#bannerwrapper').hover( 55 function() { $('.fade').fadeIn(); }, 56 function() { $('.fade').fadeOut(); } 57 );} 58}); 59 60 61});
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.