1$(function() { 2 3// internationalization 4$.extend($.colorbox.settings, { 5current: LANG_CBOX_IMAGE + " {current} " + LANG_CBOX_FROM + " {total}", 6previous: LANG_CBOX_PREVIOUS, 7next: LANG_CBOX_NEXT, 8close: LANG_CBOX_CLOSE, 9xhrError: LANG_CBOX_XHR_ERROR, 10slideshowStop: LANG_CBOX_SLIDESHOWSTOP, 11slideshowStart: LANG_CBOX_SLIDESHOWSTART, 12imgError: LANG_CBOX_IMG_ERROR 13}); 14 15//Ð¿Ð¾Ð´Ñ Ð²Ð°ÑÑваем Ð¾Ñ lightbox 16$( '.lightbox-enabled' ).colorbox({ transition: "none"}); 17 18//ÑÑаÑÑи анонÑÑ Ð¸ оÑновной ÑекÑÑ 19$( '.text-block img, .con_desc img' ).not('a img:first-child').wrap( function(){ 20 var ahref = $( '<a href="' + $( this ).attr( 'src' ) + '" />').colorbox({ transition: "none" }); 21 return ahref; 22}); 23//добавление клаÑÑа вÑÑÑнÑÑ Ð² Ñаблоне 24$('a.photobox').colorbox({ rel: 'gal', transition: "none", slideshow: true, width: "90%", height: "auto" }); 25 26$( '.bd_image_small' ).each( function(){ 27 var regex = /(small\/|medium\/)/; 28 var link = $( this ).attr( 'src' ); 29 $( this ).wrap( '<a class="orig" href="' + link.replace( regex, 'medium/' ) + '" />' ); 30 $( '.orig').colorbox({ transition: "none" }); 31}); 32 33//Ð´Ð»Ñ Ð²ÑÑавленÑÑ ÑеÑез бб-ÑедакÑÐ¾Ñ 34$( '.bb_img img' ).not('a img:first-child').each( function(){ 35 var link = $( this ).attr( 'src' ); 36 $( this ).wrap( '<a class="bb_photo" href="' + link + '" />' ); 37 $( '.bb_photo').colorbox({ transition: "none" }); 38}); 39 40//Ð´Ð»Ñ Ð±Ð±-ÑедакÑоÑа вÑÑавленнÑе Ñ ÑменÑÑением 41$( '.forum_zoom a' ).each( function(){ 42 $( this ).colorbox({ transition: "none" }); 43}); 44 45});
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.