摘要: // JavaScript Documentvar Marquee = { arrIdObj : {/*marqueebox : {distance:-95,//移动距离delay:3000,//延迟时间speed:1000//移动时间},minCount:2 */}, //创建对象 startMa 阅读全文
posted @ 2016-06-22 08:55 石紫云 阅读(305) 评论(0) 推荐(0) 编辑
摘要: //上传图片文件var uploadFileImage = { //最大图片数 maxCountImgs : 5, //图片数 countImgs : 0, //图片最大值兆 max_size : 1000, //file 控件id列表集["user_head","two_code_img","br 阅读全文
posted @ 2016-04-20 10:16 石紫云 阅读(391) 评论(0) 推荐(0) 编辑
摘要: //置顶 document.getElementById("pro-view-8").onclick = function(){document.body.scrollIntoView();} window.onscroll = function(){ if(document.body.scroll 阅读全文
posted @ 2016-04-09 12:16 石紫云 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: <div class="w-number" > <a class="w-number-btn w-number-btn-minus" pro="minus" href="javascript:void(0);">-</a> <input class="w-number-input" pro="inp 阅读全文
posted @ 2016-04-09 12:15 石紫云 阅读(1683) 评论(0) 推荐(0) 编辑
摘要: //objElement 元素对象,strHtml 元素内的字符格式,yuTimeSpan 倒计时毫秒数,endFunc 结束处理函数function initialTimer(objElement,strHtml,yuTimeSpan,endFunc){ if(typeof initialTime 阅读全文
posted @ 2016-04-08 17:21 石紫云 阅读(337) 评论(0) 推荐(0) 编辑
摘要: css样式: #outer{height:100px;overflow:hidden;position:relative;} #middle{position:absolute;top:50%;} #inner{position:relative;top:-50%;} #outer[id]{disp 阅读全文
posted @ 2016-04-05 15:31 石紫云 阅读(299) 评论(0) 推荐(0) 编辑
摘要: css样式: <style> *{margin: 0; } .ads-detail { width: 1000px;/*height: 1000px;*/ position: relative; margin: 0 auto; } .ads-detail p{ position: absolute; 阅读全文
posted @ 2016-04-05 15:09 石紫云 阅读(423) 评论(0) 推荐(0) 编辑
摘要: img图片展示上下(有些浏览器可能左右)有间隙解决方式: 1.(display:inline或inline-block)标签元素或图片的父标签 font-size:0px; 2. 图片添加样式 vertical-align属性为“top,text-top,bottom,text-bottom” 3. 阅读全文
posted @ 2016-04-01 16:28 石紫云 阅读(618) 评论(0) 推荐(0) 编辑
摘要: html结构: <div class="slibanner" ><div class="slideContent" id="box"><ul class="slideShow" id="tklist"><li><a class="slideBlock current" target="_blank" 阅读全文
posted @ 2016-04-01 16:20 石紫云 阅读(182) 评论(0) 推荐(0) 编辑
摘要: js javascript禁止滚动条滚动事件 0 鼠标移动这里,转动滚轮,随你而改变! 阅读全文
posted @ 2015-12-15 17:44 石紫云 阅读(4794) 评论(0) 推荐(0) 编辑