1$(document).ready(function(){ 2 $(window).scroll(function () { 3 if ($(this).scrollTop() > 50) { 4 $('#back-to-top').fadeIn(); 5 } else { 6 $('#back-to-top').fadeOut(); 7 } 8 }); 9 // scroll body to 0px on click 10 $('#back-to-top').click(function () { 11 $('#back-to-top').tooltip('hide'); 12 $('body,html').animate({ 13 scrollTop: 0 14 }, 800); 15 return false; 16 }); 17 18 19 20}); 21 22// SEARCH 23 $(function () { 24 $('a[href="#search_form"]').on('click', function(event) { 25 event.preventDefault(); 26 $('#search_form').css('display','block'); 27 $('#search_form').addClass('open'); 28 $('#search_form > form > input[type="search"]').focus(); 29 }); 30 $('#search_form, #search_form button.close').on('click keyup', function(event) { 31 if (event.target == this || event.target.className == 'close' || event.keyCode == 27) { 32 $(this).removeClass('open'); 33 } 34 }); 35 }); 36 $(function () { 37 $('a[href="#open_board"]').on('click', function(event) { 38 event.preventDefault(); 39 $('#board_overlay').css('display','block'); 40 $('#board_overlay').addClass('open'); 41 }); 42 $('#board_overlay, #board_overlay button.close').on('click keyup', function(event) { 43 if (event.target == this || event.target.className == 'close' || event.keyCode == 27) { 44 $(this).removeClass('open'); 45 } 46 }); 47 }); 48 49 50$('ul.nav li.dropdown').hover(function() { 51 $(this).find('.dropdown-menu').stop(true, true).delay(20).fadeIn(100); 52}, function() { 53 $(this).find('.dropdown-menu').stop(true, true).delay(20).fadeOut(100); 54}); 55 56 57 58 59$("#author_line").owlCarousel({ 60 autoPlay: 6000, //Set AutoPlay to 3 seconds 61 items : 3, 62 navigation : true, 63 pagination: false, 64 navigationText : ["",""], 65 }); 66 67 68$("#sub_headline").owlCarousel({ 69 autoPlay: 6000, //Set AutoPlay to 3 seconds 70 items : 4, 71 navigation : true, 72 pagination: false, 73 navigationText : ["",""], 74 }); 75 76 77 $("#top-man").owlCarousel({ 78 navigation : false, 79 slideSpeed : 200, 80 paginationSpeed : 300, 81 autoplaySpeed : 5000, 82 autoPlay: true, 83 singleItem : true, 84 navigationText: ["",""], 85 paginationNumbers: true, 86}); 87 88 89 $("#headline").owlCarousel({ 90 navigation : true, 91 slideSpeed : 300, 92 paginationSpeed : 200, 93 autoplaySpeed : 4000, 94 autoPlay: true, 95 singleItem : true, 96 navigationText: ["",""], 97 paginationNumbers: true, 98 paginationhover: true, 99 }); 100 101 102 $("#hd-home1").owlCarousel({ 103 navigation : true, 104 slideSpeed : 300, 105 paginationSpeed : 200, 106 autoplaySpeed : 4000, 107 autoPlay: true, 108 singleItem : true, 109 navigationText: ["",""], 110 paginationNumbers: true, 111 paginationhover: true, 112 }); 113 114 115 $("#hd-home2").owlCarousel({ 116 navigation : true, 117 slideSpeed : 300, 118 paginationSpeed : 200, 119 autoplaySpeed : 4000, 120 autoPlay: true, 121 singleItem : true, 122 navigationText: ["",""], 123 paginationNumbers: true, 124 paginationhover: true, 125 }); 126 127 128 129 $('body').on('click', '#hd-home1 .owl-numbers', function(){ 130 let numbers = $(this).text() - 1; 131 let link = $('#hd-home1 .headline-li .new_window')[numbers]; 132 let href = $(link).attr('href'); 133 window.open(href); 134 }); 135 $(document).on('mouseover', '#hd-home1 .owl-page', function(){ 136 let owlNumb = $(this).find('.owl-numbers').text() 137 owlNumb = parseInt(owlNumb) - 1 138 $('#hd-home1 .owl-wrapper').trigger('owl.goTo', owlNumb); 139 }); 140 141 142 143 $('body').on('click', '#hd-home2 .owl-numbers', function(){ 144 let numbers = $(this).text() - 1; 145 let link = $('#hd-home2 .headline-li .new_window')[numbers]; 146 let href = $(link).attr('href'); 147 window.open(href); 148 });
149 $(document).on('mouseover', '#hd-home2 .owl-page', function(){ 150 let owlNumb = $(this).find('.owl-numbers').text() 151 owlNumb = parseInt(owlNumb) - 1 152 $('#hd-home2 .owl-wrapper').trigger('owl.goTo', owlNumb); 153 }); 154 155 156 157 158 159 160 161 $('body').on('click', '#headline .owl-numbers', function(){ 162 let numbers = $(this).text() - 1; 163 let link = $('#headline .headline-li .new_window')[numbers]; 164 let href = $(link).attr('href'); 165 window.open(href); 166 }); 167 168 $(document).on('mouseover', '#headline .owl-page', function(){ 169 let owlNumb = $(this).find('.owl-numbers').text() 170 owlNumb = parseInt(owlNumb) - 1 171 $('#headline .owl-wrapper').trigger('owl.goTo', owlNumb); 172 }); 173 174 $('body').on('click', '#top-man .owl-numbers', function(){ 175 let numbers = $(this).text() - 1; 176 let link = $('#top-man .owl-item .item .new_window')[numbers]; 177 let href = $(link).attr('href'); 178 window.open(href); 179 }); 180 181 $(document).on('mouseover', '#top-man .owl-page', function(){ 182 let owlNumb = $(this).find('.owl-numbers').text() 183 owlNumb = parseInt(owlNumb) - 1 184 $('#top-man .owl-wrapper').trigger('owl.goTo', owlNumb); 185 }); 186 187 188 189 190 191 192 193 194$("#home_video").owlCarousel({ 195 autoPlay: 2500, //Set AutoPlay to 3 seconds 196 items : 3, 197 navigation : true, 198 pagination: false, 199 navigationText : ["",""], 200 }); 201 202 203 204 205 206$("#right_one_slider").owlCarousel({ 207 autoPlay: 4500, //Set AutoPlay to 3 seconds 208 items : 1, 209 navigation : true, 210 pagination: false, 211 navigationText : ["",""], 212 }); 213 214 $("#burclar").owlCarousel({ 215 navigation : true, 216 slideSpeed : 300, 217 paginationSpeed : 400, 218 autoPlay: 3000, 219 singleItem : true, 220 pagination : false , 221 navigationText: ["",""], 222 }); 223 224 225$("#hot-news").owlCarousel({ 226 navigation : false, 227 paginationSpeed : 200, 228 autoPlay: 5000, 229 singleItem : true, 230 pagination : false , 231 items : 1, 232 }); 233 234 235 236$(document).ready(function () { 237 $('.lazy').Lazy(); 238 $('.lazyAll').Lazy({ 239 delay: 0 240 }) 241 242 $('img.lazy').on('load',function(){ 243 /* console.log(this)//fires this function when it appears*/ 244 245 $(".imgLiquidFill").imgLiquid({ 246 fill: true, 247 horizontalAlign: "center", 248 verticalAlign: "center" 249 }); 250}); 251 252}) 253 254 255 256/* 257$(function() { 258 259 $(".imgLiquidFill").imgLiquid({ 260 fill: true, 261 horizontalAlign: "center", 262 verticalAlign: "center" 263 }); 264 265 $(".imgLiquidNoFill").imgLiquid({ 266 fill: false, 267 horizontalAlign: "center", 268 verticalAlign: "50%" 269 }); 270 271}); 272 273*/ 274 275$(document).ready(function () { 276 277 $("[data-sticky_column]").stick_in_parent({ 278 parent: "[data-sticky_parent]" 279 }); 280}) 281 282 283 284 285 function get_currency() { 286 var request = $.ajax({ 287 url: "https://api.gazisoft.com/services.php?service=currency", 288 method: "POST", 289 dataType: "JSON" 290 }); 291 292 request.done(function( response ) { 293 $(".currency .dollar .curr").html(response.Dolar[0].sales) 294 295 if(response.Dolar[0].status==-1){ 296 $(".currency .dollar .curr").addClass("red"); 297 $(".currency .dollar .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 298 }else if(response.Dolar[0].status==1){ 299 $(".currency .dollar .curr").addClass("green"); 300 $(".currency .dollar .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 301 }else{ 302 $(".currency .dollar .curr").addClass("gray"); 303 $(".currency .dollar .fa").addClass("gray"); 304 } 305 306 307 $(".currency .euro .curr").html(response.Euro[0].sales) 308 309 if(response.Euro[0].status==-1){ 310 $(".currency .euro .curr").addClass("red"); 311 $(".currency .euro .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 312 }else if(response.Euro[0].status==1){ 313 $(".currency .euro .curr").addClass("green"); 314 $(".currency .euro .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 315 }else{ 316 $(".currency .euro .curr").addClass("gray"); 317 $(".currency .euro .fa").addClass("gray"); 318 } 319 320 321 322 323 324 325 $(".currency .pound .curr").html(response.Sterlin[0].sales) 326 327 if(response.Sterlin[0].status==-1){ 328 $(".currency .pound .curr").addClass("red"); 329 $(".currency .pound .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 330 }else if(response.Euro[0].status==1){ 331 $(".currency .pound .curr").addClass("green"); 332 $(".currency .pound .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 333 }else{ 334 $(".currency .pound .curr").addClass("gray"); 335 $(".currency .pound .fa").addClass("gray"); 336 } 337 338 339 340 341 342 343 $(".currency .gold .curr").html(response.Gold[0].sales) 344 345 if(response.Gold[0].status==-1){ 346 $(".currency .gold .curr").addClass("red"); 347 $(".currency .gold .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 348 }else if(response.Gold[0].status==1){ 349 $(".currency .gold .curr").addClass("green"); 350 $(".currency .gold .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 351 }else{ 352 $(".currency .gold .curr").addClass("gray"); 353 $(".currency .gold .fa").addClass("gray"); 354 } 355 356 $(".currency .bist .curr").html(response.Bits[0].sales) 357 358 if(response.Bits[0].status==-1){ 359 $(".currency .bist .curr").addClass("red"); 360 $(".currency .bist .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 361 }else if(response.Bits[0].status==1){ 362 $(".currency .bist .curr").addClass("green"); 363 $(".currency .bist .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 364 }else{ 365 $(".currency .bist .curr").addClass("gray"); 366 $(".currency .bist .fa").addClass("gray"); 367 } 368 369 370 371 $(".currency .btc .curr").html(response.BTC[0].sales) 372 373 if(response.BTC[0].status==-1){ 374 $(".currency .btc .curr").addClass("red"); 375 $(".currency .btc .fa").removeClass("fa-minus").addClass("red fa-angle-down"); 376 }else if(response.BTC[0].status==1){ 377 $(".currency .btc .curr").addClass("green"); 378 $(".currency .btc .fa").removeClass("fa-minus").addClass("green fa-angle-up"); 379 }else{ 380 $(".currency .btc .curr").addClass("gray"); 381 $(".currency .btc .fa").addClass("gray"); 382 } 383 384 }); 385 386 }
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.