- 博客(16)
- 资源 (3)
- 收藏
- 关注
原创 用jquery实现仿淘宝焦点图的动画
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">可控方向的图片滚动效果.scroll{ position:relative; background-color:#CCC; padding:2px; width:600px; hei
2012-03-30 20:42:39 1664
原创 用jquery插件实现漂亮的日历效果
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档 #startTime,#endTime{ /* background-color:red;*/ } $(function(){
2012-03-30 14:52:40 1640
原创 用jquery实现选项卡效果(非常漂亮,带动画效果)
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档 //当窗体加载完毕的时候 触发该匿名函数 //$(document) 把dom对象转换成jquery对象 // $(document).ready(funct
2012-03-28 18:54:31 5469
原创 用jquery插件实现手风琴效果
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> $(document).ready(function (){ $("#accordion").accordion({ header: "h3",//头信息 h3
2012-03-28 18:48:38 1055
原创 用jquery插件实现自动添加用户
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">jquery插件实现自动添加用户 $(document).ready(function(){ //注册对话框 $("#dialog-form").dialog({
2012-03-28 17:26:48 977
原创 jquery实现弹窗效果
window.htmlhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">弹出窗口 $(document).ready(function (){ $("#btn_center").click(function (){ $(w
2012-03-27 17:42:21 5709
原创 用jquery实现可伸缩的表格
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档 $(document).ready(function (){ //先找到所有的带有class=parent的tr $("tr.parent").click(function
2012-03-26 19:20:16 3025
原创 用jquery实现全选/全不选效果
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> 无标题文档 $(document).ready(function(){ $("#all-yes").click(function(){
2012-03-26 18:48:48 750
原创 用jquery实现表格的隔行变色
简单选择器学习//使用jquery加载事件$(document).ready(function (){$("tr:even").css("background","#ffff99");$("tr:odd").css("background","#cccccc");}); 姓名 性别
2012-03-20 20:39:45 843
原创 Jquery的简介及由来
Jquery的简介jQuery由美国人John Resig在2006年初创建,是继prototype之后又一个优秀的javaScript框架。•jQuery是一个快速的,简洁的javaScript库,使用户能更方便地处理HTML documents、events、实现动画效果,并且方便地为网站提供AJAX交互。•程序员:简化javascript和ajax编程,能够使
2012-03-19 20:42:54 4195 1
原创 ajax+js+dom+json+php+mysql 实现google suggest效果
ajax+js+dom+json+php+mysql 实现google suggest效果 /*设置文本框的样式*/ #inputStr{ width:300px; } /*设置DIV的样式*/ #suggest{ width:302px; position:absolute; margin-left:96px; overfl
2012-03-09 15:26:52 1149
原创 简单很实用的聊天室(不看会后悔的哦!~~~)
include 'checkUser.php';?>无标题文档#chatContent{width:500px;height:300px;background-color:#FFFF99;text-align:left;overflow:scroll;}table{margin:auto auto;backgr
2012-03-07 22:12:59 924
原创 ajax+js+dom+json+php+mysql实现漂亮的表格各行变色与google分页效果
include "../../../include/dbConn.php";//查询数据库,得到总的记录数$rs=mysql_query("select count(*) from area");$rowNum=mysql_result($rs,0);//总页数=上取整(总记录数/每页大小)$Pages=ceil($rowNum/$F_PAGESIZE);?>
2012-03-06 21:48:45 2807 1
原创 仿google的分页效果
include "../../../include/dbConn.php";if(isset($_GET['np'])){$nowpage=$_GET['np']; }else{$nowpage=1; }//定义sql$rs=mysql_query("select count(*) from area");$rowNum=mysql_result($rs,0);
2012-03-05 21:46:25 833
原创 模仿优酷视频无刷新留言
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档#comment{ width:500px; height:300px; background:#FC9; }
2012-03-01 21:17:04 732
原创 用javascript DOM实现添加多个附件并与删除
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">使用DOM方法实现多附件上传客户端function addFile(){//创建tr标签var tr1=document.createElement("tr");//创建td标签var
2012-03-01 08:01:07 850
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人