PageSourceSearch

https://www.tehransang.com/_PortalThemes/CommonCSS/Login/jscss/custom.js

js tehransang.com collected 2026-09-28 12:27:40 UTC 1,465 bytes, 50 lines download raw bytes

1/* Custom JavaScript */
2$(document).ready(function($) {
3	
4	/*---------- For Placeholder on IE9 and below -------------*/
5	$('input, textarea').placeholder();
6	
7	/*----------- For icon rotation on input box foxus -------------------*/ 	
8	$('.input-field').focus(function() {
9  		$('.page-icon img').addClass('rotate-icon');
10	});
11	
12	/*----------- For icon rotation on input box blur -------------------*/ 	
13	$('.input-field').blur(function() {
14  		$('.page-icon img').removeClass('rotate-icon');
15	});
16	
17	
18	/* for demo only */
19	function getparameter(){
20		var themename = window.location.href.split('?');  
21		var tid = themename[1];
22		if(tid === undefined){
23			 tid = '';
24		}
25		 
26		$('link#fordemo').replaceWith('<link rel="stylesheet"  id="fordemo" href="css/' 
27                + tid+'.css" type="text/css" />');  
28       $('a').each(function() { 
29       		 var link = $(this).attr('href') + tid ;
30       		 $(this).attr('href',link);
31       });
32       
33       var k = tid.split('login-theme-');
34       var thnumber = Number(k[1]); 
35       $('.th'+thnumber).addClass('active');
36       if(thnumber>8 && thnumber<15 || thnumber==7){      	 
37        	$('.login-logo a img').attr('src','img/login-logo2.png');
38       }  
39	} 
40	$('a.demo-btn').click(function(e) {
41		 e.preventDefault(); 
42		 var themeid =$(this).attr('data-demoid');
43		 var themename = window.location.href.split('?'); 
44		 window.location.href =   themename[0]+'?'+themeid ;
45		 
46	});
47	getparameter();
48	
49});
50

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.