1/************************************************************* 2*VARIABILI GLOBALI 3*************************************************************/ 4var $localPath = document.URL; 5var $pathName = $localPath.substring($localPath.lastIndexOf('/') + 1, $localPath.length); 6var $galleryType = ''; 7var $pageFound = false; 8 9 10/************************************************************* 11*FUNZIONE DI GESTIONE DEI MENU 12*************************************************************/ 13function makeMenu($page) { 14 15 $('.item-menu').each(function () { 16 if ($page.toLowerCase().indexOf($(this).attr('rel')) != -1) { 17 $(this).add().css('cursor', 'default'); 18 $(this).find('.div-linkDisabled').hide(); 19 $(this).find('.div-linkEnabled').show(); 20 } 21 else { 22 $(this).add().css('cursor', 'pointer'); 23 $(this).hover(function () { 24 $(this).find('.div-linkDisabled').hide(); 25 $(this).find('.div-linkEnabled').show(); 26 }, function () { 27 $(this).find('.div-linkDisabled').show(); 28 $(this).find('.div-linkEnabled').hide(); 29 }); 30 } 31 }); 32} 33 34 35/************************************************************* 36*FUNZIONI GLOBALI DEL PAGELOAD 37*************************************************************/ 38function contentPageLoad() { 39 40 41 // COOKIE 42 if ($.cookie('accept') == undefined) { 43 setTimeout(function () { 44 var notification = new NotificationFx({ 45 wrapper: document.body, 46 message: '<span class="icon icon-megaphone"></span><p style="font-size:15px !important">Questo sito utilizza i cookie per migliorare la tua esperienza di navigazione. Se procedi consideriamo accettato il loro uso | Per maggiori informazioni leggi l\'<a class="btnInfoCookie" href="infoCookie.aspx?lng=1">Informativa</a><br/>
46This site uses cookies to improve your browsing experience. Proceeding you accept their use | For more infos read the <a class="btnInfoCookie" href="infoCookie.aspx?lng=2">Disclosure</a></p>', 47 layout: 'bar', 48 effect: 'slidetop', 49 type: 'error', // notice, warning or error 50 onClose: function () { 51 $.cookie('accept', 'y'); 52 } 53 }); 54 55 // show the notification 56 notification.show(); 57 58 $('a.btnInfoCookie').fancybox({ 59 'margin':10, 60 'padding':25, 61 'width': 800, 62 'height': 400, 63 'speedIn': 400, 64 'speedOut': 200, 65 'type': 'iframe', 66 'overlayOpacity': 0.5 67 }); 68 }, 1200); 69 } 70 //FINE COOKIE 71 72 73 74 $("a.zoom").fancybox({ 75 'padding': '30', 76 'margin': '50', 77 'overlayOpacity': 0.5, 78 'titlePosition': 'inside', 79 'onStart': function () { 80 $('body').add().css('overflow', 'hidden'); 81 }, 82 'onClosed': function () { 83 $('body').add().css('overflow', 'auto'); 84 } 85 }); 86 87 88 //Funzione per l'apertura del popup richiedi informazioni 89 $("a.richiediInfo").fancybox({ 90 'type': 'iframe', 91 'padding': '30', 92 'margin': '50', 93 'scrolling': 'auto', 94 'transitionIn': 'elastic', 95 'transitionOut': 'elastic', 96 'showCloseButton': true, 97 'speedIn': 200, 98 'speedOut': 200, 99 'width': 600, 100 'height': 600, 101 'overlayOpacity': 0.8, 102 'onStart': function () { 103 $('body').add().css('overflow', 'hidden'); 104 }, 105 'onClosed': function () { 106 $('body').add().css('overflow', 'auto'); 107 }, 108 'afterShow': function () { 109 $('#moduloCloser').click(function () { 110 $.fancybox.close(); 111 }) 112 } 113 }); 114 115 116 117 $("a.hplPrivacy").fancybox({ 118 'type': 'iframe', 119 'padding': '30', 120 'margin': '50', 121 'scrolling': 'auto', 122 'transitionIn': 'elastic', 123 'transitionOut': 'elastic', 124 'showCloseButton': true, 125 'speedIn': 200, 126 'speedOut': 200, 127 'width': 700, 128 'height': 600, 129 'overlayOpacity': 0.8, 130 'onStart': function () { 131 $('body').add().css('overflow', 'hidden'); 132 }, 133 'onClosed': function () { 134 $('body').add().css('overflow', 'auto'); 135 }, 136 'afterShow': function () { 137 $('#moduloCloser').click(function () { 138 $.fancybox.close(); 139 }) 140 } 141 }); 142 143 144 145 if ($pathName == '') { $pathName = 'index.aspx' }; 146 147 if ($pathName.indexOf('index.aspx') != -1) { 148 fncHome(); 149 } 150 151 if ($pathName.indexOf('fiera.aspx') != -1) { 152 fncFiera(); 153 } 154 155 if ($pathName.indexOf('fiera_pages.aspx') != -1) { 156 fncFiera_pages(); 157 } 158 159 if ($pathName.indexOf('spazi.aspx') != -1) { 160 fncSpazi(); 161 } 162 163 if ($pathName.indexOf('spazi_pages.aspx') != -1) { 164 fncSpazi_pages(); 165 } 166 167 if ($pathName.indexOf('servizi.aspx') != -1) { 168 fncServizi(); 169 } 170 171 if ($pathName.indexOf('servizi_pages.aspx') != -1) { 172 fncServizi_pages(); 173 } 174 175 if ($pathName.indexOf('calendario.aspx') != -1) { 176 fncCalendario(); 177 } 178 179 if ($pathName.indexOf('biglietteria.aspx') != -1) { 180 fncBiglietteria(); 181 } 182 183 if ($pathName.indexOf('news.aspx') != -1) { 184 fncNews(); 185 } 186 187 if ($pathName.indexOf('media.aspx') != -1) { 188 fncMedia(); 189 } 190 191 if ($pathName.indexOf('contatti.aspx') != -1) { 192 fncContatti(); 193 } 194 195 //Richiamo della funzione per la creazione del Menù 196 makeMenu($pathName); 197} 198 199 200/************************************************************* 201*FUNZIONE DI CREAZIONE DELLE SLIDE 202*************************************************************/ 203function makeSlide() { 204 205 $(".slideRotator").carouFredSel({ 206 items: { 207 visible: 1 208 }, 209 scroll: { 210 fx: 'fade', 211 easing: 'linear', 212 duration: 500, 213 pauseOnHover: true 214 }, 215 auto: 4000 216 }); 217} 218 219 220 221/************************************************************* 222*FUNZIONI AREA 'HOME' 223*************************************************************/ 224function fncHome() { 225 226 $('#bannerTitlePageBig').hide(); 227 228 $('.slideRotator').show(); 229 makeSlide(); 230 $('.map').hide(); 231 232 233 $('.wrapper-logoProgramma').each(function () { 234 try { 235 $(this).backstretch($(this).attr('imgBg'));
236 } 237 catch (e) 238 { } 239 }); 240 241 var $countSlide = $('.itemNewsrecenti').length; 242 if ($countSlide > 3) { 243 244 $('.scrollerNewsHome').carouFredSel({ 245 width: 320, 246 height:320, 247 items: { 248 visible: 3 249 }, 250 direction: 'up', 251 scroll: { 252 items: 1, 253 duration: 2000, 254 easing: 'cubic', 255 pauseOnHover: true 256 } 257 }); 258 } 259 260 $("#loghiIstituzionaliHome").carouFredSel({ 261 width:920, 262 items: { 263 visible: 5 264 }, 265 scroll: { 266 fx: 'fade', 267 easing: 'linear', 268 duration: 500, 269 pauseOnHover: true 270 }, 271 auto: 5000 272 }); 273 274 $("#boxProgrammaRotator").carouFredSel({ 275 items: { 276 visible: 1, 277 width: 290, 278 height: 95 279 }, 280 scroll: { 281 fx: 'fade', 282 easing: 'linear', 283 duration: 1000, 284 pauseOnHover: true 285 }, 286 auto: 3000 287 }); 288 289} 290 291 292/************************************************************* 293*FUNZIONI AREA 'FIERA' 294*************************************************************/ 295function fncFiera() { 296 $('#wrapper-banner').hide(); 297 $('.slideRotator').hide(); 298 $('.map').hide(); 299 $('#bannerTitlePageBig').show(); 300 $('#wrapperBanners').hide(); 301 $('#wrapper-rotatorNews').hide(); 302 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 303 304 $('.wrapper-logoProgramma').each(function () { 305 try { 306 $(this).backstretch($(this).attr('imgBg')); 307 } 308 catch (e) 309 { } 310 }); 311 312 var $countSlide = $('.itemNewsrecenti').length; 313 if ($countSlide > 3) { 314 315 $('.scrollerNews').carouFredSel({ 316 width: 320, 317 height: 320, 318 items: { 319 visible: 3 320 }, 321 direction: 'up', 322 scroll: { 323 items: 1, 324 duration: 2000, 325 easing: 'cubic', 326 pauseOnHover: true 327 } 328 }); 329 } 330 331 332 $("#boxProgrammaRotator").carouFredSel({ 333 items: { 334 visible: 1, 335 width: 290, 336 height: 95 337 }, 338 scroll: { 339 fx: 'fade', 340 easing: 'linear', 341 duration: 1000, 342 pauseOnHover: true 343 }, 344 auto: 3000 345 }); 346 347 $("#loghiIstituzionaliHome").carouFredSel({ 348 width:920, 349 items: { 350 visible: 5 351 }, 352 scroll: { 353 fx: 'fade', 354 easing: 'linear', 355 duration: 500, 356 pauseOnHover: true 357 }, 358 auto: 5000 359 }); 360} 361 362 363/************************************************************* 364*FUNZIONI AREA 'FIERA PAGES' 365*************************************************************/ 366function fncFiera_pages() { 367 $('#wrapper-banner').hide(); 368 $('.slideRotator').hide(); 369 $('.map').hide(); 370 $('#bannerTitlePageBig').show(); 371 $('#wrapperBanners').hide(); 372 $('#wrapper-rotatorNews').hide(); 373 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 374 375 376 $('.boxMainImage a').each(function () { 377 try { 378 $(this).backstretch($(this).attr('imgBg')); 379 } 380 catch (e) 381 { } 382 }); 383 384 385 $('.divImmagini a').each(function () { 386 try { 387 $(this).backstretch($(this).attr('imgBg')); 388 } 389 catch (e) 390 { } 391 }); 392 393 var $countSlide = $('.itemNewsrecenti').length; 394 if ($countSlide > 3) { 395 396 $('.scrollerNews').carouFredSel({ 397 width: 320, 398 height: 320, 399 items: { 400 visible: 3 401 }, 402 direction: 'up', 403 scroll: { 404 items: 1, 405 duration: 2000, 406 easing: 'cubic', 407 pauseOnHover: true 408 } 409 }); 410 } 411 412 $('.wrapper-logoProgramma').each(function () { 413 try { 414 $(this).backstretch($(this).attr('imgBg'));
415 } 416 catch (e) 417 { } 418 }); 419 420 421 $("#boxProgrammaRotator").carouFredSel({ 422 items: { 423 visible: 1, 424 width: 290, 425 height: 95 426 }, 427 scroll: { 428 fx: 'fade', 429 easing: 'linear', 430 duration: 1000, 431 pauseOnHover: true 432 }, 433 auto: 3000 434 }); 435 436 $("#loghiIstituzionaliHome").carouFredSel({ 437 width:920, 438 items: { 439 visible: 5 440 }, 441 scroll: { 442 fx: 'fade', 443 easing: 'linear', 444 duration: 500, 445 pauseOnHover: true 446 }, 447 auto: 5000 448 }); 449} 450 451 452 453 454/************************************************************* 455*FUNZIONI AREA 'SPAZI' 456*************************************************************/ 457function fncSpazi() { 458 $('#wrapper-banner').hide(); 459 $('.slideRotator').hide(); 460 $('.map').hide(); 461 $('#bannerTitlePageBig').show(); 462 $('#wrapperBanners').hide(); 463 $('#wrapper-rotatorNews').hide(); 464 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 465 466 467 $("#boxProgrammaRotator").carouFredSel({ 468 items: { 469 visible: 1, 470 width: 321, 471 height: 95 472 }, 473 scroll: { 474 fx: 'fade', 475 easing: 'linear', 476 duration: 1000, 477 pauseOnHover: true 478 }, 479 auto: 3000 480 }); 481 482 483 $('.wrapper-logoProgramma').each(function () { 484 try { 485 $(this).backstretch($(this).attr('imgBg')); 486 } 487 catch (e) 488 { } 489 }); 490 491} 492 493 494/************************************************************* 495*FUNZIONI AREA 'SPAZI PAGES' 496*************************************************************/ 497function fncSpazi_pages() { 498 $('#wrapper-banner').hide(); 499 $('.slideRotator').hide(); 500 $('.map').hide(); 501 $('#bannerTitlePageBig').show(); 502 $('#wrapperBanners').hide(); 503 $('#wrapper-rotatorNews').hide(); 504 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 505 506 $('.divImmagini a').each(function () { 507 try { 508 $(this).backstretch($(this).attr('imgBg')); 509 } 510 catch (e) 511 { } 512 }); 513 514 var $countSlide = $('.slide-news').length; 515 516 517 if ($countSlide > 4) { 518 $('#newsRotatorHome').carouFredSel({ 519 items: 5, 520 direction: 'up', 521 height: 415, 522 scroll: { 523 items: 1, 524 duration: 2000, 525 easing: 'cubic', 526 pauseOnHover: true 527 } 528 }); 529 } 530 531 $("#boxProgrammaRotator").carouFredSel({ 532 items: { 533 visible: 1, 534 width: 321, 535 height: 95 536 }, 537 scroll: { 538 fx: 'fade', 539 easing: 'linear', 540 duration: 1000, 541 pauseOnHover: true 542 }, 543 auto: 3000 544 }); 545 546 $('.wrapper-logoProgramma').each(function () { 547 try { 548 $(this).backstretch($(this).attr('imgBg')); 549 } 550 catch (e) 551 { } 552 }); 553} 554 555 556/************************************************************* 557*FUNZIONI AREA 'SERVIZI' 558*************************************************************/ 559function fncServizi() { 560 $('#wrapper-banner').hide(); 561 $('.slideRotator').hide(); 562 $('.map').hide(); 563 $('#bannerTitlePageBig').show(); 564 $('#wrapperBanners').hide(); 565 $('#wrapper-rotatorNews').hide(); 566 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 567 568 569 var $countSlide = $('.itemNewsrecenti').length; 570 if ($countSlide > 3) { 571 572 $('.scrollerNews').carouFredSel({ 573 width: 355, 574 height: 320, 575 items: { 576 visible: 3 577 }, 578 direction: 'up', 579 scroll: { 580 items: 1, 581 duration: 2000, 582 easing: 'cubic', 583 pauseOnHover: true 584 } 585 }); 586 } 587} 588 589 590 591/************************************************************* 592*FUNZIONI AREA 'SERVIZI PAGES' 593*************************************************************/ 594function fncServizi_pages() { 595 $('#wrapper-banner').hide(); 596 $('.slideRotator').hide(); 597 $('.map').hide(); 598 $('#bannerTitlePageBig').show(); 599 $('#wrapperBanners').hide(); 600 $('#wrapper-rotatorNews').hide(); 601 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 602 603 var $countSlide = $('.itemNewsrecenti').length; 604 if ($countSlide > 3) { 605 606 $('.scrollerNews').carouFredSel({ 607 width: 355, 608 height: 320, 609 items: { 610 visible: 3 611 }, 612 direction: 'up', 613 scroll: { 614 items: 1, 615 duration: 2000, 616 easing: 'cubic', 617 pauseOnHover: true 618 } 619 }); 620 } 621 622 $('.divImmagini a').each(function () { 623 try { 624 $(this).backstretch($(this).attr('imgBg'));
625 } 626 catch (e) 627 { } 628 }); 629 630 var $countSlide = $('.slide-news').length; 631 632 633 if ($countSlide > 4) { 634 $('#newsRotatorHome').carouFredSel({ 635 items: 5, 636 direction: 'up', 637 height: 415, 638 scroll: { 639 items: 1, 640 duration: 2000, 641 easing: 'cubic', 642 pauseOnHover: true 643 } 644 }); 645 } 646} 647 648 649 650/************************************************************* 651*FUNZIONI AREA 'CALENDARIO' 652*************************************************************/ 653function fncCalendario() { 654 $('#wrapper-banner').hide(); 655 $('.slideRotator').hide(); 656 $('.map').hide(); 657 $('#bannerTitlePageBig').show(); 658 $('#wrapperBanners').hide(); 659 $('#wrapper-rotatorNews').hide(); 660 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 661 662 $('#contentPage').width('100%'); 663 664 665 $('.wrapper-logo').each(function () { 666 try { 667 $(this).backstretch($(this).attr('imgBg')); 668 } 669 catch (e) 670 { } 671 }); 672 673 674 $('.toggle-month').click(function () { 675 var $state = $(this).parents('.itemMonth').find('.wrapper-manifestazioni').attr('state'); 676 var $countManifestazioni = $(this).parents('.itemMonth').find('.itemManifestazione').length; 677 var $speed = 200 * $countManifestazioni; 678 if ($state == 'open') { 679 $(this).parents('.itemMonth').find('.wrapper-manifestazioni').slideUp($speed, function () { 680 $(this).parents('.itemMonth').find('.toggle-month').add().css('background-image', 'url(images/down.png)'); 681 $(this).attr('state', 'close'); 682 }); 683 } 684 else { 685 $(this).parents('.itemMonth').find('.wrapper-manifestazioni').slideDown($speed, function () { 686 $(this).parents('.itemMonth').find('.toggle-month').add().css('background-image', 'url(images/up.png)'); 687 $(this).attr('state', 'open'); 688 }); 689 } 690 }); 691} 692 693/************************************************************* 694*FUNZIONI AREA 'BIGLIETTERIA' 695*************************************************************/ 696function fncBiglietteria() { 697 $('.slideRotator').show(); 698 makeSlide(); 699 $('.map').hide(); 700} 701 702/************************************************************* 703*FUNZIONI AREA 'NEWS' 704*************************************************************/ 705function fncNews() { 706 $('#wrapper-banner').hide(); 707 $('.slideRotator').hide(); 708 $('.map').hide(); 709 $('#bannerTitlePageBig').show(); 710 $('#wrapperBanners').hide(); 711 $('#wrapper-rotatorNews').hide(); 712 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 713 714 $('.itemNewsrecenti:odd').addClass('itemNewsrecentiAlternate'); 715 716 $("a.zoom").fancybox({ 717 'padding': '20', 718 'margin': '50', 719 'overlayOpacity': 0.5, 720 'onStart': function () { 721 $("body").css({ 'overflow': 'hidden' }); 722 }, 723 'onClosed': function () { 724 $("body").css({ "overflow": "visible" }); 725 } 726 727 }); 728 729 $('#wrapper-photogallery a').each(function () { 730 try { 731 $(this).backstretch($(this).attr('imgBg')); 732 } 733 catch (e) 734 { } 735 736 }); 737 738 $('.wrapper-image-news').each(function () { 739 try { 740 $(this).backstretch($(this).attr('imgBg')); 741 } 742 catch (e) 743 { } 744 }); 745} 746 747/************************************************************* 748*FUNZIONI AREA 'MEDIA' 749*************************************************************/ 750function fncMedia() { 751 $('#wrapper-banner').hide(); 752 $('.slideRotator').hide(); 753 $('.map').hide(); 754 $('#bannerTitlePageBig').show(); 755 $('#wrapperBanners').hide(); 756 $('#wrapper-rotatorNews').hide(); 757 $('#wrapperContentPlaceHolder').add().css('background-image', 'none'); 758 $('body').add().css('overflow-x', 'hidden'); 759 760 761 $('.maskFilter').hide(); 762 763 764 if ($galleryType == '') { 765 $galleryType = $('.btnSection').first().attr('id'); 766 } 767 selType(); 768 769 $('.btnSection').click(function () { 770 if ($(this).attr('id') != $galleryType) { 771 $galleryType = $(this).attr('id'); 772 selType(); 773 } 774 });
775 776 function selType() { 777 778 $('.btnSection').each(function () { 779 if ($(this).attr('id') == $galleryType) { 780 $(this).add().css('background-position', 'center bottom'); 781 $('.pnlItems').hide(); 782 $('.pnlItems[id=pnl_' + $(this).attr('rel') + ']').show(); 783 } 784 else { 785 $(this).add().css('background-position', 'center top'); 786 } 787 }); 788 } 789 790 //Richiamo di megafolio 791 var api = jQuery('.megafolio-container').megafoliopro( 792 { 793 filterChangeAnimation: "pagetop", // fade, rotate, scale, rotatescale, pagetop, pagebottom,pagemiddle 794 filterChangeSpeed: 800, // Speed of Transition 795 filterChangeRotate: 99, // If you ue scalerotate or rotate you can set the rotation (99 = random !!) 796 filterChangeScale: 0.6, // Scale Animation Endparameter 797 delay: 20, // The Time between the Animation of single mega-entry points 798 paddingHorizontal: 3, // Padding between the mega-entrypoints 799 paddingVertical: 3, 800 layoutarray: [2, 1, 3, 4] // Defines the Layout Types which can be used in the Gallery. 2-9 or "random". You can define more than one, like {5,2,6,4} where the first items will be orderd in layout 5, the next comming items in layout 2, the next comming items in layout 6 etc... You can use also simple {9} then all item ordered in Layout 9 type. 801 }); 802 803 api.megaremix(); 804 $('#wrapper-page').height($('.wrapper-mainPage').height()); 805 806 // CALL FILTER FUNCTION IF ANY FILTER HAS BEEN CLICKED 807 jQuery('.filter').click(function () { api.megafilter(jQuery(this).data('category')); }); 808 809 // THE FILTER FUNCTION 810 jQuery('.filter').click(function () { 811 jQuery('.filter').each(function () { jQuery(this).removeClass("selected") }); 812 api.megafilter(jQuery(this).data('category')); 813 jQuery(this).addClass("selected"); 814 jQuery('body').find('ul.filter_list').slideUp(500).addClass("closed"); 815 jQuery('body').find('.current-filter').html(jQuery(this).text()); 816 }); 817 818 // DROP DOWN LIST OPEN AND CLOSE 819 jQuery('.filter_list_button').click(function () { 820 var ul = jQuery('body').find('ul.filter_list'); 821 if (ul.hasClass('closed')) { 822 ul.slideDown(500); 823 ul.removeClass('closed'); 824 } else { 825 ul.slideUp(500); 826 ul.addClass('closed'); 827 } 828 }); 829 830 //Funzione di posizionamento delle immagini e info 831 $('.video').hover(function () { 832 $(this).find('.infosVideo').animate({ 'margin-top': '-80px' }, 300); 833 }, 834 function () { 835 $(this).find('.infosVideo').animate({ 'margin-top': '0px' }, 300); 836 }); 837 838 //Funzione per l'apertura esterna dei video Youtube 839 $(".video").click(function () { 840 $.fancybox({ 841 'titlePosition': 'inside', 842 'padding': 30, 843 'autoScale': false, 844 'transitionIn': 'none', 845 'transitionOut': 'none', 846 'title': this.title, 847 'width': 640, 848 'height': 385, 849 'href': this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'), 850 'type': 'swf', 851 'swf': { 852 'wmode': 'transparent', 853 'allowfullscreen': 'true' 854 } 855 }); 856 return false; 857 }); 858 859} 860 861/************************************************************* 862*FUNZIONI AREA 'CONTATTI' 863*************************************************************/ 864function fncContatti() { 865 $('#bannerTitlePageBig').hide(); 866 $('.slideRotator').hide(); 867 $('.map').show(); 868 makeMap(); 869 870 $('.wrapper-logoProgramma').each(function () { 871 try { 872 $(this).backstretch($(this).attr('imgBg')); 873 } 874 catch (e) 875 { } 876 }); 877 878 879 $("#boxProgrammaRotator").carouFredSel({ 880 items: { 881 visible: 1, 882 width: 290, 883 height: 95 884 }, 885 scroll: { 886 fx: 'fade', 887 easing: 'linear', 888 duration: 1000, 889 pauseOnHover: true 890 }, 891 auto: 3000 892 });
893 894 $("#loghiIstituzionaliHome").carouFredSel({ 895 items: { 896 visible: 5 897 }, 898 scroll: { 899 fx: 'fade', 900 easing: 'linear', 901 duration: 500, 902 pauseOnHover: true 903 }, 904 auto: 5000 905 }); 906 907 //MASKED INPUT 908 $('.phone').mask('+(099) 0099-00000999', { placeholder: "+(___) ____-________" }); 909 $(".mobile").mask('+(099) 0099-00000999', { placeholder: "+(___) ____-________" }); 910 $(".fax").mask('+(099) 0099-00000999', { placeholder: "+(___) ____-________" }); 911 912} 913 914 915/************************************************************* 916*FUNZIONI GLOBALI DEL DOCUMENT-READY 917*************************************************************/ 918 919function zPrint(oTgt) { 920 oTgt.focus(); 921 oTgt.print(); 922} 923 924//PageLoad 925function pageLoad(sender, args) { 926 if (typeof contentPageLoad == 'function') { contentPageLoad(); } 927}
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.