PageSourceSearch

https://www.archisevilla.org/wp-content/themes/archisevilla/js/scripts.php?ver=1.0

js archisevilla.org collected 2026-10-02 10:07:34 UTC 1,826 bytes, 68 lines download raw bytes

1
2
3
4	var enableCuffon = false;	// use cuffon
5
6
7	//form validation
8	function validateName(fld) {
9			
10		var error = "";
11				
12		if (fld.value === '' || fld.value === 'Nickname' || fld.value === 'Enter Your Name..' || fld.value === 'Your Name..') {
13			error = "You didn't enter Your First Name.\n";
14		} else if ((fld.value.length < 2) || (fld.value.length > 50)) {
15			error = "First Name is the wrong length.\n";
16		}
17		return error;
18	}
19			
20	function validateEmail(fld) {
21
22		var error="";
23		var illegalChars = /^[^@]+@[^@.]+\.[^@]*\w\w$/;
24				
25		if (fld.value === "") {
26			error = "You didn't enter an email address.\n";
27		} else if ( fld.value.match(illegalChars) === null) {
28			error = "The email address contains illegal characters.\n";
29		}
30
31		return error;
32
33	}
34			
35	function validateMessage(fld) {
36
37		var error = "";
38				
39		if (fld.value === '') {
40			error = "You didn't enter Your message.\n";
41		} else if (fld.value.length < 3) {
42			error = "The message is to short.\n";
43		}
44
45		return error;
46	}
47
48jQuery(document).ready(function($) {	
49	jQuery(".panel .right-top-panel a.icon-text").click(function(){
50		var parseid = $(this).attr('id');
51		if(parseid == "sidebar-icon-popular"){
52			jQuery(this).parent().parent().parent().children().eq(0).html("Popular Articles");
53			jQuery(this).addClass("active");
54			jQuery("#sidebar-icon-comments").removeClass("active");
55			jQuery("#sidebar-panel-comments").hide();
56			jQuery("#sidebar-panel-popular").fadeIn('fast');
57		}else
58		if(parseid == "sidebar-icon-comments"){
59			jQuery(this).parent().parent().parent().children().eq(0).html("Recent 
59Comments");
60			jQuery(this).addClass("active");
61			jQuery("#sidebar-icon-popular").removeClass("active");
62			jQuery("#sidebar-panel-popular").hide();
63			jQuery("#sidebar-panel-comments").fadeIn('fast');
64		}
65	});	
66});	
67
68	var startsizedefault = 1270;

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.