摘要: 模仿了WP的tile的title和message的切换功能,和一个数字的提示,以及一个拖动的实现脚本代码function WPFn(o){ this.o=o; this.time=2500; this.toggletime=1000; this.scrollmove=false; this.Initialization(); this.Run(); document.onselectstart=new Function ("return false");}WPFn.prototype.Run = function(){ var self = th... 阅读全文
posted @ 2011-12-20 14:33 十年一刻·i 阅读(1197) 评论(2) 推荐(0)
摘要: 一个妇科视频学习网站,和美工一起花了一个星期的时间,个人觉得还算速度蛮快的。。无加班状态 阅读全文
posted @ 2011-12-12 17:28 十年一刻·i 阅读(889) 评论(13) 推荐(0)
摘要: 1 (function($){ 2 $.fn.lsMovePanel=function(){ 3 var id=this.attr("id"); 4 var X=Y=0; 5 var offsetX=offsetY=0;//绝对位置 6 var OldIndex=0;///存储原始索引 7 var Temp_Li="<li id=\"Temp_Li\" style=\"background-color:#FFFFFF;border-color:#FF023C\"></li>"; 8 ... 阅读全文
posted @ 2011-11-24 09:10 十年一刻·i 阅读(765) 评论(1) 推荐(2)
摘要: 每次坐火车都想靠着窗户坐,看看风景人也舒服些,在网上找了下座位计算的方法,就做了一个小应用注:不包括高铁和动车计算的代码:View Code 1 int Num; 2 if (int.TryParse(this.phoneTextBox_Num.Text.ToString(), out Num)) 3 { 4 Debug.WriteLine(Num.ToString()); 5 if (Num > 0 && Num <= 118) 6 ... 阅读全文
posted @ 2011-11-20 09:28 十年一刻·i 阅读(886) 评论(4) 推荐(0)
摘要: View Code 1 function lsFloat(id,location,intervalshow){ 2 this.ID=id; 3 this.InnerHTML=""; 4 this.Location=location; 5 this.IntervalShow=intervalshow; 6 this.CloseButton=true; 7 this.Width=0; 8 this.Height=0; 9 this.IE6CalibrationlsTop=6;//校准IE6偏差 10 } 11 //... 阅读全文
posted @ 2011-11-16 09:41 十年一刻·i 阅读(575) 评论(1) 推荐(0)
摘要: 首先建立一个Song.cs,用于保存歌曲信息View Code 1 using System; 2 using System.Net; 3 using System.Windows; 4 using System.Windows.Controls; 5 using System.Windows.Documents; 6 using System.Windows.Ink; 7 using System.Windows.Input; 8 using System.Windows.Media; 9 using System.Windows.Media.Animation;10 using Syst. 阅读全文
posted @ 2011-11-10 15:14 十年一刻·i 阅读(750) 评论(6) 推荐(1)
摘要: Push Notification简介目前,Windows Phone支持三种Push Notification方式:Toast Notifications、Tile Notifications和Raw Notifications,我不想翻译成中文名字了,因为“吐司”之类的翻译无法帮助理解。Toast Notifications,当我们的程序没有运行时,我们希望有一种形式可以通知用户,并且让用户调用对应的应用,就像收到SMS时,调用Messaging程序一样。运行效果如下图,当用户点击Toast时,可以调用对应的程序。Tile Notifications,用于更新启动界面上的Tile,可以通过 阅读全文
posted @ 2011-11-08 11:35 十年一刻·i 阅读(847) 评论(0) 推荐(0)
摘要: 代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Net; 5 using System.Windows; 6 using System.Windows.Controls; 7 using System.Windows.Documents; 8 using System.Windows.Input; 9 using System.Windows.Media; 10 using System.Windows.Media.Animation; 11 ... 阅读全文
posted @ 2011-11-07 11:35 十年一刻·i 阅读(1073) 评论(7) 推荐(1)
摘要: 刚开始做,然后今天又一瞄坛子里有人已经发了一个类似的,呵呵,看来初学者都喜欢做这种应用了。。先看图,有图有真相本来想用Hubtile做的,但是样式更改起来好麻烦,就干脆自己写了一个自定义控件。比较简单,可以在面板里直接预览3天的温度信息。还没做完,目前就实现了添加城市,然后读取城市的天气信息。再准备加上定时更新天气预报信息的功能,在首页显示首选城市的天气信息。数据全部是以模板的方式绑定的,显示天气的方块需要绑定数据,之前是动态绑定的,后来换成模板绑定的,但运行就报错,查了下资料,需要注册这个属性。注册属性的方法。 1 ///<summary> 2 /// 天气信息 3 ///< 阅读全文
posted @ 2011-10-27 11:57 十年一刻·i 阅读(745) 评论(4) 推荐(1)
摘要: 貌似还没认证吧。也没发布。怎么来的崩溃? 阅读全文
posted @ 2011-10-27 08:47 十年一刻·i 阅读(351) 评论(3) 推荐(0)