⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jquery.js

📁 强大的PHP内容管理系统尽量不要让站长把时间都花费在为您修正说明上。压缩包解压
💻 JS
📖 第 1 页 / 共 2 页
字号:
					date = options.expires; 
				} 
				expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE 
			} 
			var path = options.path ? '; path=' + options.path : ''; 
			var domain = options.domain ? '; domain=' + options.domain : ''; 
			var secure = options.secure ? '; secure' : ''; 
			document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 
		} else { // only name given, get cookie 
			var cookieValue = null; 
			if (document.cookie && document.cookie != '') { 
				var cookies = document.cookie.split(';'); 
				for (var i = 0; i < cookies.length; i++) { 
					var cookie = jQuery.trim(cookies[i]); 
					// Does this cookie string begin with the name we want? 
					if (cookie.substring(0, name.length + 1) == (name + '=')) { 
						cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); 
						break; 
					} 
				} 
			} 
			return cookieValue; 
		} 
	};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -