posts - 46, comments - 82, trackbacks - 5, articles - 1

2008年8月21日

     摘要: <inputonkeypress="return /[\w\u4e00-\u9fa5]/.test(String.fromCharCode(window.event.keyCode))" onpaste="return !/[^\w\u4e00-\u9fa5]/g.test(window.clipboardData.getData('Text'))" ondragenter="retur...  阅读全文

posted @ 2008-08-21 21:15 xujh 阅读(1504) | 评论 (0)编辑

2008年8月6日

     摘要: Several members here at Webmaster World have asked if there was a method to assign 100% height to <div>'s used as left and/or right navigation menus. In some cases, members also wished to assign...  阅读全文

posted @ 2008-08-06 16:09 xujh 阅读(266) | 评论 (0)编辑

2008年8月5日

     摘要: HP大中华区总裁孙振耀退休感言一、关于工作与生活我有个有趣的观察,外企公司多的是25-35岁的白领,40岁以上的员工很少,二三十岁的外企员工是意气风发的,但外企公司40岁附近的经理人是很尴尬的。我见过的40岁附近的外企经理人大多在一直跳槽,最后大多跳到民企,比方说,唐骏。外企员工的成功很大程度上是公司的成功,并非个人的成功,西门子的确比国美大,但并不代表西门子中国经理比国美的老板强,甚至可以说差得...  阅读全文

posted @ 2008-08-05 12:19 xujh 阅读(176) | 评论 (0)编辑

2008年7月29日

     摘要: [代码]  阅读全文

posted @ 2008-07-29 23:02 xujh 阅读(1014) | 评论 (1)编辑

2008年7月17日

     摘要: 网上查了很多方法,都不太好使,不如自己写一个,思路就是把按钮按下时用Javascript在客户端把按钮下一次的onclick事件改为return false; 这样在服务器端页面重新送回客户端之前,再次点击按钮都不会Post到服务端。同时将按钮的style改为一行字的样子,光标也变成沙漏状。当服务端页面重新产生后Button又会回到初始状态。该方法对于F5刷新还不能防范,只是简单封闭了F5的按键,...  阅读全文

posted @ 2008-07-17 23:40 xujh 阅读(3095) | 评论 (26)编辑

2007年11月19日

     摘要: FCKeditor相关资料简介:官方网站http://www.fckeditor.net/官方文档http://wiki.fckeditor.net/下载地址http://www.fckeditor.net/download/default.html官方演示http://www.fckeditor.net/demo/default.html如何在FCKeditor 2.6中添加插入视频和音频功能参...  阅读全文

posted @ 2007-11-19 15:39 xujh 阅读(1892) | 评论 (1)编辑

2007年11月5日

     摘要: FreeTextBox  阅读全文

posted @ 2007-11-05 22:22 xujh 阅读(1060) | 评论 (1)编辑

2007年9月14日

     摘要: 在VS2005下配置手机设备仿真器访问局域网  阅读全文

posted @ 2007-09-14 15:46 xujh 阅读(746) | 评论 (2)编辑

2007年4月28日

     摘要: 截取屏幕,并保存为JPEG文件格式1usingjpeg,ExtCtrls;2procedureTForm1.ScreenCap(LeftPos,TopPos,RightPos,BottomPos:integer);3var4RectWidth,RectHeight:integer;5SourceDC,DestDC,Bhandle:integer;6Bitmap:TBitmap;7MyJpeg:TJ...  阅读全文

posted @ 2007-04-28 21:47 xujh 阅读(335) | 评论 (0)编辑

2007年4月17日

     摘要: protectedvoidPage_Load(objectsender,EventArgse){Bitmapbm=newBitmap(800,600);Graphicsg=Graphics.FromImage(bm);g.FillRectangle(Brushes.White,newRectangle(0,0,800,600));FillRoundRectangle(g,Brushes.Plum,...  阅读全文

posted @ 2007-04-17 22:32 xujh 阅读(2179) | 评论 (2)编辑