摘要: view: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title></title> <script src="~/Scripts/jquery-1.10.2.min.js" 阅读全文
posted @ 2016-11-15 14:24 Ariter 阅读(7210) 评论(0) 推荐(1)
摘要: 网上看房子,不过网速太慢,就做个demo来抓数据并存到表格里。 代码如下: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using Syst 阅读全文
posted @ 2016-11-12 17:36 Ariter 阅读(482) 评论(0) 推荐(0)
摘要: 网上看到一个释放烟花的canvas案例,很好看哦。 新建文本,把下面代码复制进去,后缀名改为html,用浏览器打开即可。 看懂注释后,可以自己修改烟花的各个效果。我试过让烟花炸成了心型。:-) 阅读全文
posted @ 2016-10-21 09:13 Ariter 阅读(423) 评论(0) 推荐(0)
摘要: 只用几行js,加几个css样式。不用贴层或改动表结构。(测试时请多加几行tr) 结果如图:上下滚动,thead不动;左右滚动,thead跟随移动 分析: 将thead 设为absolute定位,使之脱离文档流,再获取垂直滚动条距离顶部的滚动距离,作为thead 的top位置,并实时同步。 问题一:t 阅读全文
posted @ 2016-10-17 16:37 Ariter 阅读(7316) 评论(0) 推荐(0)
摘要: 布局页:_MyLayout.cshtml 内容页:MyPage.cshtml 分部视图:MyPartial.cshtml Action:TestController.cs 阅读全文
posted @ 2016-09-19 13:36 Ariter 阅读(3423) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System... 阅读全文
posted @ 2016-09-14 13:10 Ariter 阅读(228) 评论(0) 推荐(0)
摘要: MACD指标:12日EMA的计算:EMA12 = 前一日EMA12×11/13 + 今日收盘×2/1326日EMA的计算:EMA26 = 前一日EMA26×25/27 + 今日收盘×2/27差离值(DIFF)的计算: DIFF = EMA12 - EMA26 。离差平均值(DEA值): 今日DEA 阅读全文
posted @ 2016-09-14 13:09 Ariter 阅读(423) 评论(0) 推荐(0)
摘要: 产品拿到安装包后想在本地安装测试一下,但是管理工具里没有IIS。 后来在windows功能里添加iis服务。 添加后成功安装。 但是第一次打开时,页面提示要“启用目录浏览”。 启用后,打开的却是站点目录。 设置了默认页面也不行。 后来参照该地址操作:http://blog.csdn.net/fest 阅读全文
posted @ 2016-09-06 16:23 Ariter 阅读(5714) 评论(0) 推荐(1)
摘要: 最后发现配置文件<appSettings>中多了一句<add key="owin:AutomaticAppStartup" value="false"/>,注释后正常 阅读全文
posted @ 2016-09-06 10:44 Ariter 阅读(194) 评论(0) 推荐(0)
摘要: 页面中使用document.defaultview.getcomputedstyle()在火狐下取不到值。 原本方法现在$(document).ready()中,换到window.onload里就可以了。 查了一下两者的区别: 阅读全文
posted @ 2016-09-06 10:39 Ariter 阅读(282) 评论(0) 推荐(0)