原创 CSS網頁底部懸浮代碼
<div id="footpanel"> </div> /*CSS*/ #footpanel {position: fixed;bottom: 0; left: 0;z-index: 9999; /*--Keeps the pane
原创 sql 根據字母獲取以字母開頭的數據
函數1: ALTER Function [dbo].[Get_Str](@Str VARCHAR(100))Returns VARCHAR(100)asBEGIN WHILE PATINDEX('%[^a-z]%',@Str) > 0 B
原创 Asp.Net 上傳圖片並生成高清晰縮略圖
首先要引入命名空間:using System.IO; using System.Web.UI.HtmlControls; us
原创 JS計算日期天數之差 兼容IE,FF
var d1="2014-01-01"; var d2="2014-01-09"; var minDate = new Date(d1.replace(new RegExp(
原创 兼容IE6.0 7.0 8.0 FF上傳預覽
兼容IE6.0 7.0 8.0 FF上傳預覽 <script type="text/javascript"> function getPath(obj) { if (obj) {
原创 C#日期函數使用大全
DateTime dt = DateTime.Now; dt.ToString();//2005-11-5 13:21:25 dt.ToFileTime().ToString();//127756416859912816 dt.ToFil
原创 js 獲得項目根目錄
<script>function getRootPath(){var strFullPath=window.document.location.href;var strPath=window.document.location.path
原创 Silverlight Grid表格
public class GridHelper { public static readonly DependencyProperty ShowBorderProperty = Depe
原创 Jquery 插件限制文本框輸入的字數,包括字母,漢字
$(document).ready(function() { $("#txtarea").Limitchar({ txtNote: "#txtarea", txtLimit:
原创 silverlight 滾動文字
<UserControl x:Class="DB_Typhoon.elements.rollbottom" xmlns="http://schemas.microsoft.com/winfx/20
原创 sql 遞歸函數,根據父級ID獲取所有子級(含自己)
--------------------------------------用途:根據商家ID獲取所有子商家(含自己商家) --說明:--時間:2011/5/6 12:44:42--作者:李海生@Boo