分类

链接

2013 年 4 月
1234567
891011121314
15161718192021
22232425262728
2930  

近期文章

热门标签

新人福利,免费薅羊毛

PHP判断是否是手机浏览器

//是否是手机浏览 function is_mobile(){ $ua = strtolower($_SERVER['HTTP_USER_AGENT']); $uachar = "/(nokia|sony|ericsson|mot|samsung|sgh|lg|philips|panasonic|alcatel|lenovo|cldc|midp|mobile)/i"; if($ua == '' || preg_match($uachar, $ua)) { return true; } else{ return false; } }

PHP 暂无评论 阅读(1,291)

IE按F12无效

解决办法就是:右键点任务栏的按钮,弹出菜单中有一个 “移动” ,点击它,然后不要再动鼠标,用键盘按方向键下或者右,直到看到这个窗口

前端 暂无评论 阅读(1,914)

WPF仿360浏览器弹出界面

关键动画代码   <!--弹出来-->             <Storyboard x:Key="showDW2">                 <DoubleAnimation Storyboard.TargetName="Canvas1"                           Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX"                           From="0.5" To="1.1" Duration="0:0:0.11" >                 </DoubleAnimation>                 <DoubleAnimation Storyboard.TargetName="Canvas1"                           Storyboard.TargetProperty="Ren...

.NET 暂无评论 阅读(1,572)

数字转中文金额

/// <summary> /// 金额小写转中文大写类(附带一个数字转大写)。 /// 整数支持到万亿;小数部分支持到分(超过两位将进行Banker舍入法处理) /// </summary> public class NumGetString { private static String[] Ls_ShZ ={ "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖", "拾" }; private static String[] Ls_DW_Zh ={ "元", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿", "拾", "佰", "仟", "万" }; private static String[] Num_DW ={ "","拾", "佰", "仟", "万", "拾", "佰", "...

.NET 暂无评论 阅读(1,373)