随笔分类 - jQuery
摘要:输出每个列表项的值CoffeeMilkSoda<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("button").click(function(){ $("li").each(function(){ alert
阅读全文
摘要:var xmlhttp;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari alert("高级浏览器、IE7以上版本"); }else {// code for IE6, IE5 alert("IE6,IE5"); }根据不同的浏览器创建 XMLHttpRequest 对象var xmlhttp;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xml
阅读全文
摘要:今天看到一个网站的jQuesr效果不错。扒了。发现其实很简单的。 1 <style> 2 .yk_login { 3 width: 100%; 4 float: left; 5 height: 100px; 6 position: fixed; 7 bottom: 0; 8 left: 0; 9 overflow: hidden; 10 z-index: 9999; 11 _position: absolute; 12 _bottom: auto; 13 _top: expression(...
阅读全文
摘要:$(document).ready(function() { $("div.baba").mouseleave(function() { $("span.aaa").stop().animate({opacity: '1'},600); }); $("div.baba").mouseenter(function() { $("span.aaa").stop().animate({opacity: '0'},600); }); });
阅读全文
摘要:$("html,body").animate({scrollTop:$(a).offset().top},1000);
阅读全文
摘要:演示无标题文档网站首页网站首页网站首页网站首页网站首页网站首页网站首页代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
阅读全文
摘要:演示渐变弹出层点击这里是弹出层效果弹出层手机资讯热门文章联系站长建议意见代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
阅读全文
摘要:演示收缩展开效果收缩展开效果 1 2 3 4 5 收缩展开效果 1 2 代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type"
阅读全文
摘要:演示选项卡-Download by http://www.codefans.net1111222233334444111111111111111111111122222222222222222333333333333333333333444444444444444444代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns=&
阅读全文
摘要:演示单行滚动-Download by http://www.codefans.net这是公告标题的第一行这是公告标题的第二行这是公告标题的第三行这是公告标题的第四行这是公告标题的第五行这是公告标题的第六行这是公告标题的第七行这是公告标题的第八行代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://w
阅读全文

浙公网安备 33010602011771号