自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

转载 jQuery获取json数据

首先,music.txt中的内容如下: [ {"optionKey":"1", "optionValue":"Canon in D"}, {"optionKey":"2", "optionValue":"Wind Song"}, {"optionKey":"3", "optionValue":"Wings"} ] 接下来是HTML代码: 点击按钮获取JSON数据

2016-08-31 10:49:32 706

转载 根据屏幕大小变化的轮播器

jQuery(function($) { $(window).resize(function(){ var width=$('#wxlist').width(); $('.products_img').css('width',(width*0.97)); $('.products_img').css('height',(width)); $('#outside_box').css('he

2016-08-23 17:14:28 302

原创 根据屏幕大小改变div

jQuery(function($) { $(window).resize(function(){ var width=$('#content').width(); //$('.touchslider-item a').css('width',width); $('.product_list_img').css('height',(width/2)); }).resize();

2016-08-23 17:13:30 1001

转载 JS图片切换,幻灯+缩略图的实例效果

图片切换效果 .container{ width:280px; height:200px; border:1px solid #eee; position:relative; } #idPicText{ background:#eee; line-height:25px; text-align:center; font-weight:bold; width:28

2016-08-23 17:12:22 590

转载 js左右控制切换

带左右箭头图片轮播 .rollBox{width:770px;height:260px;overflow:hidden;padding:10px;margin:0 auto;border:1px solid red;} .rollBox .LeftBotton{height:40px;width:21px;background:url(images/sl.png) no-repeat

2016-08-23 17:10:50 439

转载 div随着鼠标移动而移动并获取鼠标坐标

鼠标的距离 var mouseX; var mouseY; function show(event) {  var infoDiv = document.getElementById('infoDiv');  mouseOver(event);     document.getElementById("a").innerHTML = mouseX+" "+mouseY ;    

2016-08-23 17:09:22 4033

原创 控件自定义属性获取及赋予事件方法

$(function(){ var gt='.blue';//获取控件,可多个,如.blue .red .green $(document).on('click',gt,function(){//为控件添加click事件 var id=$(this).attr('id'); var issue=$(this).attr('issue'); if(id && issue){ window

2016-08-23 16:57:12 576

原创 获取fire fox的event以获取屏幕坐标

var mouseX;   var mouseY;    function over(imgid,obj,imgbig)    {     var oDiv = document.createElement('div'); oDiv.id = 'crediv'; var oimg = document.createElement('img'); oimg.id = 'crei

2016-08-23 16:51:31 292

转载 PHP与MYSQL事务处理

/* MYSQL的事务处理主要有两种方法。 1、用begin,rollback,commit来实现 begin 开始一个事务 rollback 事务回滚 commit 事务确认 2、直接用set来改变mysql的自动提交模式 MYSQL默认是自动提交的,也就是你提交一个QUERY,它就直接执行!我们可以通过 set autocommit=0 禁止自动提交 set autocomm

2016-08-23 16:48:06 263

Feature-layer要素图层发布流程

关于SDE更多信息参阅SDE博客http//blogcsdnnet/linghe首先创建一个SDE数据库选择数据库平台SQLSERVER输入数据库名sudansde(数据库名字建议用小写字母我在使用过

2016-11-09

兼容Firefox的JS带缩略图的五屏轮换幻灯代码

兼容Firefox的JS带缩略图的五屏轮换幻灯代码

2016-08-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除