上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 实现网页端复制功能: <div id="copyInput" style="display:none;"> <form> <input id="pageUrlInput" type="text" class="form-control alert-input-url" style="border: 阅读全文
posted @ 2017-02-23 18:51 白洋花海 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: 页面定时刷新并在页面离开时停止自动刷新 阅读全文
posted @ 2017-02-22 09:37 白洋花海 阅读(2298) 评论(0) 推荐(0) 编辑
摘要: gulp详细入门教程:http://www.ydcss.com/archives/18 安装gulp 前提:已经安装node.js、npm $ npm install gulp --save-dev $ npm install gulp --save-dev gulp-sass:将scss编译成cs 阅读全文
posted @ 2016-12-24 13:50 白洋花海 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Sass安装(mac) $ sudo gem install sass $ sudo gem install sass scss编译成css文件 $ sass ui.scss ui.css $ sass ui.scss ui.css CLI安装 $ npm install -g grunt-cli 阅读全文
posted @ 2016-12-24 13:50 白洋花海 阅读(527) 评论(0) 推荐(0) 编辑
摘要: /*取消按钮点击时有边框响应*/.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus { outline-style: none; box-shadow: 阅读全文
posted @ 2016-12-14 15:52 白洋花海 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 改变上传文件的按钮样式: MVC中选择图片:有多少个<input type="flie" />控制器中通过Request.Form.Files就会接受到多少张图片。 阅读全文
posted @ 2016-12-07 16:51 白洋花海 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: var dLabel = document.getElementById("dLabel"); dLabel.addEventListener('click', function (event) { var pageUrl = window.location.href; var copyTextar 阅读全文
posted @ 2016-12-03 12:08 白洋花海 阅读(344) 评论(0) 推荐(0) 编辑
摘要: //动态控制body最小高度 var windowHeight = $(document).height() - 164; $(".body-content").css({ "min-height": windowHeight }); window.onresize = resize; functi 阅读全文
posted @ 2016-11-30 17:50 白洋花海 阅读(906) 评论(0) 推荐(0) 编辑
摘要: .filter('queryString', [ function () { var parseLocation = function () { var pairs = window.location.search.substring(1).split("&"); var obj = {}; var 阅读全文
posted @ 2016-11-29 09:25 白洋花海 阅读(140) 评论(0) 推荐(0) 编辑
摘要: View命名 View下有多个模块的文件夹,我们根据微软的规定,每个模块下的首页都为Index.cshtml命名 获得当前页面的控制器名称 var currentControllerName = this.ViewContext.RouteData.Values["controller"].ToSt 阅读全文
posted @ 2016-11-26 15:57 白洋花海 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页