摘要:background: #ff6501; background-image: -webkit-gradient(linear, left top, left bottom, from( #ffa201 ), to( #ff6501 )); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient( #ffa201 , #ff6501 ); /* Chrome 10+, Saf5.1+ */ background-image: -moz-linear-gradient( #ffa201 , #ff6...
阅读全文
09 2013 档案
摘要:// 发送邮件$phpmailer = new PHPMailer();$phpmailer->IsSMTP(); // 用smtp协议来发$phpmailer->Host = 'smtp.163.com';$phpmailer->SMTPAuth = true;$phpmailer->Username = '用户名';$phpmailer->Password = '密码';// 发信了$phpmailer->From = '发件人邮箱';$phpmailer->FromName =
阅读全文
摘要:function getURLToData($url){ $HTTP_Server = $url; $ch = curl_init(); curl_setopt ($ch,CURLOPT_URL,$HTTP_Server); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,30); curl_setopt($ch,CURLOPT_USERAGENT,"Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; MI...
阅读全文
摘要:(function ($) { var types = ['DOMMouseScroll', 'mousewheel']; $.event.special.mousewheel = { setup: function () { if (this.addEventListener) { for (var i = types.length; i;) { this.addEventListener(types[--i], handler, false); ...
阅读全文
摘要://animationjQuery.extend({ easing: { // ******* back backEaseIn: function (p, n, firstNum, diff) { var c = firstNum + diff; var s = 1.70158; // default overshoot value, can be adjusted to suit return c * (p /= 1) * p * ((s + 1) * p - s) + firstNum...
阅读全文

浙公网安备 33010602011771号