PageSourceSearch

https://cpmresales.com/w3/flatmodern/js/script.js

js cpmresales.com collected 2026-09-28 15:24:22 UTC 1,272 bytes, 51 lines download raw bytes

1$(function(){
2	
3	// Checking for CSS 3D transformation support
4	$.support.css3d = supportsCSS3D();
5	
6	var w3ls_form = $('#w3ls_form');
7	
8	// Listening for clicks on the ribbon links
9	$('.flipLink').click(function(e){
10		
11		// Flipping the forms
12		w3ls_form.toggleClass('flipped');
13		
14		// If there is no CSS3 3D support, simply
15		// hide the sign in form (exposing the signup one)
16		if(!$.support.css3d){
17			$('#signin').toggle();
18		}
19		e.preventDefault();
20    });
21    // Listening for clicks on the ribbon links
22    $('.flipLink2').click(function (e) {
23
24        // Flipping the forms
25        w3ls_form.toggleClass('flipped');
26
27        // If there is no CSS3 3D support, simply
28        // hide the sign in form (exposing the signup one)
29        if (!$.support.css3d) {
30            $('#signin').toggle();
31        }
32        e.preventDefault();
33    });
34	 
35	
36	// A helper function that checks for the 
37	// support of the 3D CSS3 transformations.
38	function supportsCSS3D() {
39		var props = [
40			'perspectiveProperty', 'WebkitPerspective', 'MozPerspective'
41		], testDom = document.createElement('a');
42		  
43		for(var i=0; i<props.length; i++){
44			if(props[i] in testDom.style){
45				return true;
46			}
47		}
48		
49		return false;
50	}
51});

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.