$(window).scroll(function() { if ( $(this).scrollTop() > 300){ $('#gotop').fadeIn("fast"); } else { $('#gotop').stop().fadeOut("fast"); } });
- Dec 11 Thu 2014 14:20
TOP按鈕jQuery
- Nov 27 Thu 2014 11:49
c# 增加meta tag
HtmlMeta tag =newHtmlMeta(); tag.Attributes.Add("property","og:title"); tag.Content="MyTitle";// don't HtmlEncode() string. HtmlMeta already escapes characters.
Page.Header.Controls.Add(tag);
- Nov 26 Wed 2014 18:04
FB分享
- Nov 26 Wed 2014 17:03
日期比大小
- Oct 31 Fri 2014 13:57
還原.min.css
http://mrcoles.com/blog/css-unminify/
- Oct 31 Fri 2014 13:35
img假圖
http://placehold.it/
- Oct 28 Tue 2014 16:51
Google Map API
https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple?hl=zh-tw
- Oct 27 Mon 2014 15:32
ASP.NET web.config IP限制
<security> <ipSecurity allowUnlisted="true"> <!-- this line allows everybody, except those listed below --> <clear/> <!-- removes all upstream restrictions --> <add ipAddress="83.116.19.53"/> <!-- blocks the specific IP of 83.116.19.53 --> <add ipAddress="83.116.119.0" subnetMask="255.255.255.0"/> <!--blocks network 83.116.119.0 to 83.116.119.255--> <add ipAddress="83.116.0.0" subnetMask="255.255.0.0"/> <!--blocks network 83.116.0.0 to 83.116.255.255--> <add ipAddress="83.0.0.0" subnetMask="255.0.0.0"/> <!--blocks entire /8 network of 83.0.0.0 to 83.255.255.255--> </ipSecurity> </security>
- Oct 27 Mon 2014 11:58
ASP.NET 避免SESSION遺失
<sessionState mode="StateServer"
stateConnectionString="tcpip=localhost:42424"
cookieless="false" timeout="10"/>
- Oct 27 Mon 2014 10:13
javascript 取得網址的URL參數和值
http://smallpoint-program.blogspot.tw/2013/04/javascript-javascripturl.html