摘要: 头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:left right center登录条:loginbar标志:logo广告:banner页面主体:main热点:hot新闻:ne 阅读全文
posted @ 2020-11-20 14:45 阿怪是好人 阅读(1412) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head> <style> .row div { float: left; } #div1, #div2 { width: 100px; height: 100px; margin-left: 100px; } img { width: 100px; he 阅读全文
posted @ 2018-11-28 17:00 阿怪是好人 阅读(452) 评论(0) 推荐(0)
摘要: FuckInternetExplorer()function FuckInternetExplorer() { var browser = navigator.appName; var b_version = navigator.appVersion; var version = b_version 阅读全文
posted @ 2018-07-30 14:27 阿怪是好人 阅读(139) 评论(0) 推荐(0)
摘要: 备忘,记录一下。 在需要打印页面生成一个div,ID为“Printing”;状态为display:none;使打印内容隐藏在该页面上,div里面的内容就是打印的内容根据需求填充即可。 然后给打印按钮加点击事件点击时调用该方法,一个简单打印功能就实现了,但是该方法调整样式不是很方便,建议直接直接生成一 阅读全文
posted @ 2018-07-03 13:55 阿怪是好人 阅读(264) 评论(0) 推荐(0)
摘要: 转自https://blog.csdn.net/Black_PL/article/details/80102953 1、先讲讲JQuery的概念,JQuery首先是由一个 America 的叫什么 John Resig的人创建的,后来又很多的JS高手也加入了这个团队。其实 JQuery是一个Java 阅读全文
posted @ 2018-05-04 09:49 阿怪是好人 阅读(206) 评论(0) 推荐(0)
摘要: noConflict()解决 var jq = $.noConflict(); 有滚动条时此插件有问题需要改进,记录一下备忘。 阅读全文
posted @ 2018-03-24 16:32 阿怪是好人 阅读(131) 评论(0) 推荐(0)
摘要: 1.分页显示数字出不来,可能是插件原因具体不清楚,可以去easyui.css文件设置其盒子的宽度。 2.删除右侧滚动条,jquery-easyui,js里面有wrap.width(),在后面加上“+20”,即可去除滚动条。 3.宽度问题,将width:auto改为width:100%. 都是小问题, 阅读全文
posted @ 2018-02-09 10:57 阿怪是好人 阅读(249) 评论(0) 推荐(0)
摘要: //html <div class="row"> <div class="col-md-3"> <span class="prefix">大类</span> <div class="btn-group"> @Html.DropDownList("GCategoryId", ViewBag.GCCat 阅读全文
posted @ 2018-02-07 17:48 阿怪是好人 阅读(192) 评论(0) 推荐(0)
摘要: 1. str.CharAt() 获取到对应位置的字符 2. str.CharCodeAt() 获取到对应位置的字符的ASCII码 3. String.fromCharCode(ASCII) 将对应ASCII转为对应字符 4. str.concat(str1,str2,str3) 连接字符串,和+符号 阅读全文
posted @ 2017-11-13 20:39 阿怪是好人 阅读(178) 评论(0) 推荐(0)
摘要: Document 阅读全文
posted @ 2017-10-20 15:25 阿怪是好人 阅读(163) 评论(0) 推荐(0)