這篇文章受密碼保護,請輸入密碼後查看內容。
- Dec 17 Thu 2015 18:31
-
TEST
- Jun 01 Wed 2016 12:12
-
上傳前預覽
<html>
<head>
<style type="text/css">.thumb-image{float:left;width:100px;position:relative;padding:5px;}</style>
</head>
<body>
- May 12 Thu 2016 11:46
-
SQL 排序置換
If'Peter'and'Steve'are unique in your table, this will do:
UPDATE TableX
SET ord =(SELECT MIN(ord)+ MAX(ord)FROM TableX
WHERE name IN('Peter','Steve'))- ord
WHERE name IN('Peter','Steve')
- May 06 Fri 2016 11:54
-
C# 載入資料夾內所有圖片
string bookNo = "01";
bookNo = Request.Params["no"] == null ? "01" : Request.Params["no"];
DirectoryInfo dir = new DirectoryInfo(Server.MapPath("~/_img/bookImg/" + bookNo));
if(!dir.Exists){
dir = new DirectoryInfo(Server.MapPath("~/_img/bookImg/01"));
- May 06 Fri 2016 11:54
-
判別行動裝置
var uA = navigator.userAgent;
if (uA.match(/iPod/) || uA.match(/iPad/) || uA.match(/iPhone/) || uA.match(/Android/) || uA.match(/Windows Phone/)) {
location.href = "xxx.aspx?no=" + no;
} else {
$(".pobBox").load("xxx.aspx?no=" + no);
- May 06 Fri 2016 11:47
-
使用a 呼叫js 埋ga
<a class="viewBtn" href="javascript:showView('01')" onclick="ga('send', 'event', 'xxx', 'xxx', '1')"></a>
- May 06 Fri 2016 11:45
-
C# 直接下載檔案
protected void LinkButton5_Click(object sender, EventArgs e)
{
string filename = "xxx.pdf";
//從Server端取得檔案
Stream FileStream;
- Apr 13 Wed 2016 17:25
-
圖片按鈕 input file
way3
<div class="col-3 frmCaption">Attachments:</div>
<div class="col-9">
<label class="customUpload btnUpload btnM"> <span>Upload files</span>
- Mar 30 Wed 2016 10:41
-
[轉貼]上傳檔案前,JavaScript檢查檔案格式、大小
https://dotblogs.com.tw/topcat/archive/2009/02/20/7250.aspx
範例程式如下:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
- Mar 04 Fri 2016 17:00
-
css goTop
#goTop {
position: fixed;
bottom: 5px;/* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
right: 5px;/* 與右方的距離 */
width: 40px;/* 按鈕原始寬度 */
- Mar 04 Fri 2016 15:12
-
CSS animation
Hover.css
http://ianlunn.github.io/Hover/
http://learn.shayhowe.com/advanced-html-css/transitions-animations/