Archive for 十一月, 2013

Generic Volume License Keys for Office 2013 Product GVLK ----------------------------------------------------------------------------- Office 2013 Professional Plus YC7DK-G2NP3-2QQC3-J6H88-GVGXT Office 2013 Standard KBKQT-2NMXY-JJWGP-M62JB-92CD4 Project 2013 Professional FN8TT-7WMH6-2D4X9-M337T-2342K Project 2013 Standard 6NTH3-CW976-3G3Y2-JK3TX-8QHTT Visio 2013 Professional C2FG9-N6J68-H8BTJ-BW3QX-RM3B3 Visio 2013 Standard J484Y-4NKBF-W2HMG-DBMJC-PGWR7 Access 2013 NG2JY-H4JBT-HQXYP-78QH9-4JM2D Excel 2013 VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB InfoPath 2013 DKT8B-N7VXH-D963P-Q4PHY-F8894 Lync 2013 2MG3G-3BNTT-3MFW9-KDQW3-TCK7R OneNote 2013 TGN6P-8MMBC-37P2F-XHXXK-P34VW Outlook 2013 QPN8Q-BJBTJ-334K3-9 ...

参数说明: width:输出设备可视区宽度,包括滚动条宽度。 height:输出设备可视区高度,包括滚动条高度。 device-with:输出设备渲染区宽度,屏幕宽度。 device-height:输出设备渲染区高度,屏幕高度。 orientation:输出设备横屏/竖屏。(portrait/landscape) aspect-ratio:width和height比例。 device-aspect-ratio:device-width和device-height比例。 color:输出设备每种颜色的位数。 color-index:输出设备颜色表中的色彩数。 monochrome:单色帧缓冲区每像素的位数。 resolution:输出设备分辨率,单位dpi/dpcm。 scan:输出设备为tv时的扫描方式。 grid: 查询是否基于栅格的设备,如果输出设备基于栅格,例如”tty”终端或者只显示一种固定字库的电话,返回值为1,否则为0。 注:除orientation, scan, grid,均可使用min/max前缀。 兼容浏览器: IE9+, Firefox 3.6+, Safari 3.2+, Chorme 10.0+, Ope ...

PHP代码 function pagination($query_string){ global $posts_per_page, $paged; $my_query = new WP_Query($query_string ."&posts_per_page=-1"); $total_posts = $my_query->post_count; if(empty($paged))$paged = 1; $prev = $paged - 1; $next = $paged + 1; $range = 3; // only edit this if you want to show more page-links $showitems = ($range * 2)+1; $pages = ceil($total_posts/$posts_per_page); if(1 != $pages){ echo "<div class='pagination'>"; echo "共 ".$pages." 页 "; echo ($paged > ($range+1) && $showitems < $pages)? "<a href='".get_pagenum_link(1)."'>首页</a>":""; echo ($paged > 1 && $showitems < $pages)? "<a href='".get_pagenum_link($prev)."'>上一 ...

IE9+ 在跟踪保护添加ADBblock表过滤广告,代码保存为HTML文件用IE打开。 adblockplus:<a href="javascript:window.external.msAddTrackingProtectionList('http://easylist-msie.adblockplus.org/chinalist+easylist.tpl', 'ChinaList+EasyList')">ChinaList+EasyList</a> adblockplus:<a href="javascript:window.external.msAddTrackingProtectionList('http://easylist-msie.adblockplus.org/easylist.tpl', 'EasyList')">EasyList</a> adblockplus:<a href="javascript:window.external.msAddTrackingProtectionList('http://easylist-msie.adblockplus.org/easyprivacy+easylist.tpl', 'EasyPrivacy+EasyList')">EasyPrivacy+EasyList</a> fanboy:<a href="javascript:window.external.msAddTrackingProtectionList('http://www.fanboy.co.nz/adblock/ie/fanboy-noele ...