PageSourceSearch

https://softwarefx.com/products/js/home.js

js softwarefx.com collected 2026-09-25 14:40:41 UTC 2,105 bytes, 82 lines download raw bytes

1	var clientSliderTimeout;
2$(document).ready(function(){
3	$(".video-buttons .sound-toggle").click( function (){
4		if($(this).find("i").hasClass("fa-volume-up")){
5			$(this).find("i").removeClass("fa-volume-up").addClass("fa-volume-off");
6		}else{
7			$(this).find("i").removeClass("fa-volume-off").addClass("fa-volume-up");
8		}
9	    $(".corporate-video").prop('muted', !$(".corporate-video").prop('muted'));
10	});
11	$(".video-buttons .replay").click( function (){
12		restartVideo();
13		
14	});
15	$(".video-buttons .info").click(function(){
16		if($(".corporate-hero").hasClass("first-play")){
17			$(".corporate-hero").removeClass("first-play");
18			restartVideo();
19		}else{
20			if($(this).find("i").hasClass('fa-info')){
21				pauseVideo();
22			
23			}else{
24				unPauseVideo();
25			}		
26		}
27	
28	});
29	$(".overlay-layer").click(function(){
30		if($(".corporate-video")[0].paused == false){
31			pauseVideo();
32
33		}else{
34			unPauseVideo();
35		}
36		
37	});
38	$(".corporate-video").on("ended",function(){
39		pauseVideo();
40	});
41
42	// initialize slider
43	$( '#clientSlider' ).lemmonSlider({
44
45	    'infinite' : true
46
47	});
48	// run
49	sliderAutoplay();
50	
51});
52function restartVideo(){
53    $(".corporate-video")[0].currentTime =0;
54    $(".corporate-video").prop('muted', false);
55    $(".sound-toggle i.fa-volume-up").removeClass("fa-volume-up").addClass("fa-volume-off");
56
57    unPauseVideo();
58}
59function pauseVideo(){
60	$(".corporate-video")[0].pause();
61	$(".video-buttons i.fa-info").removeClass("fa-info").addClass("fa-play");
62	$(".corporate-hero").addClass("playback-stopped");
63}
64function unPauseVideo(){
65	$(".corporate-video")[0].play();
66    $(".playback-stopped").removeClass("playback-stopped");
67    $(".video-buttons i.fa-play").removeClass("fa-play").addClass("fa-info");
68    $(".corporate-video").prop('muted', false);
69    $(".sound-toggle i.fa-volume-up").removeClass("fa-volume-up").addClass("fa-volume-off");
70}
71function sliderAutoplay(){
72
73    $('#clientSlider').trigger( 'nextPage' );
74    clientSliderTimeout = setTimeout( sliderAutoplay, 5000 );
75
76}
77// pause slider function
78function sliderPause(){
79
80    clearTimeout( clientSliderTimeout );
81
82}

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.