PageSourceSearch

https://cyprusconferences.org/wp-content/plugins/bold-page-builder…/bt_bb_section/bt_bb_elements.js?ver=5.9.10

js cyprusconferences.org collected 2026-09-24 09:00:20 UTC 1,956 bytes, 50 lines download raw bytes

1(function( $ ) {
2	"use strict";
3	function bt_bb_video_background() {
4		$( '.bt_bb_section.video' ).each(function() {
5			var video = $( this ).find( '.mbYTP_wrapper video' );
6			var w = $( this ).outerWidth();
7			var h = $( this ).outerHeight();
8			if ( w / h > 16 / 9 ) {
9				video.css( 'width', '105%' );
10				video.css( 'height', '' );
11			} else {
12				video.css( 'width', '' );
13				video.css( 'height', '105%' );
14			}
15		});
16	}
17
18	window.bt_bb_video_callback = function( v ) {
19		if ( $('html').hasClass( 'bt_bb_mobile' ) && $( v ).parent().hasClass( 'bt_bb_hide_video_on_mobile' )  ) {
20			$( v ).hide();
21		} else {
22			$( v ).parent().addClass( 'video_on' );
23		}
24	}
25
26	$( document ).ready( function () {
27		bt_bb_video_background();
28	});
29
30	$( window ).on( 'resize', function( e ) {		
31		bt_bb_video_background();		
32	});
33	
34	$( document ).ready( function ( e ) {		
35		$( 'a[href*="#"]:not([href="#"]):not([href*="#tab-"])' ).not( '.menu-scroll-down' ).not( '.skip-link' ).on( 'click', function() { // .menu-scroll-down - 2017 theme, #tab- woocommerce tabs, .skip-link - Bold themes framework 3 skip to content link
36			if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname ) {
37				var target = $( this.hash );
38				target = target.length ? target : $( '[name=' + this.hash.slice(1) +']' );
39				if ( target.length ) {
40					$( 'html, body' ).animate({
41						scrollTop: target.offset().top + parseFloat( window.bt_bb_scroll_nav_offset ? window.bt_bb_scroll_nav_offset : 0 )
42					}, 1000 );
43					if ( $( 'body' ).hasClass( 'btMenuVerticalOn' ) ) $( '.bt-vertical-menu-trigger, .btVerticalMenuTrigger' ).trigger( 'click' ); // Old framework
44					if ( $( 'body' ).is( '.bt-header-responsive-active.bt-responsive-menu-visible' ) ) $( '.site-header-responsive-trigger' ).trigger( 'click' ); // New framework
45					return false;
46				}
47			}
48		});		
49	});	
50})( jQuery );

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.