• Dec 17 Thu 2015 18:31
  • TEST

這篇文章受密碼保護,請輸入密碼後查看內容。

amychang2014 發表在 痞客邦 留言(0) 人氣()

<html>
<head>
<style type="text/css">.thumb-image{float:left;width:100px;position:relative;padding:5px;}</style>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<div id="wrapper" style="margin-top: 20px;"><input id="fileUpload" multiple="multiple" type="file"/> 
<div id="image-holder"></div>
</div>

amychang2014 發表在 痞客邦 留言(0) 人氣()

If 'Peter' and 'Steve' are unique in your table, this will do:

amychang2014 發表在 痞客邦 留言(0) 人氣()

http://ipq.co/

amychang2014 發表在 痞客邦 留言(0) 人氣()

            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"));
                bookNo = "01";
            }
            FileInfo[] files = dir.GetFiles();
            StringBuilder sb = new StringBuilder();
            foreach (FileInfo file in files)
            {
                sb.Append("<img src='' data-original='_img/bookImg/" + bookNo + "/" + file.Name + "' style='width:100%;'  />");
            }
            bookImg.InnerHtml = sb.ToString();

amychang2014 發表在 痞客邦 留言(0) 人氣()

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);
            $(".popDiv").show(); $(".popDivBg").show();            
        }
 

amychang2014 發表在 痞客邦 留言(0) 人氣()

<a class="viewBtn" href="javascript:showView('01')" onclick="ga('send', 'event', 'xxx', 'xxx', '1')"></a>

amychang2014 發表在 痞客邦 留言(0) 人氣()

protected void LinkButton5_Click(object sender, EventArgs e)
    {
        string filename = "xxx.pdf";
        //從Server端取得檔案 
        Stream FileStream;
        FileStream = File.OpenRead(Server.MapPath("~/xxx/xxx.pdf"));
        downloadBook(filename, FileStream);
    }
    protected void downloadBook(string filename, Stream FileStream)
    {
        Byte[] Buf = new byte[FileStream.Length];
        FileStream.Read(Buf, 0, int.Parse(FileStream.Length.ToString()));
        FileStream.Close();

amychang2014 發表在 痞客邦 留言(0) 人氣()

way3
<div class="col-3 frmCaption">Attachments:</div>
<div class="col-9">
    <label class="customUpload btnUpload btnM"> <span>Upload files</span>

amychang2014 發表在 痞客邦 留言(0) 人氣()

https://dotblogs.com.tw/topcat/archive/2009/02/20/7250.aspx
範例程式如下:

amychang2014 發表在 痞客邦 留言(0) 人氣()

#goTop {

position: fixed;

bottom: 5px; /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */

right: 5px; /* 與右方的距離 */

width: 40px; /* 按鈕原始寬度 */

height: 40px; /* 按鈕原始高度 */

opacity: 0.4; /* 按鈕原始透明度 */

z-index: 10;

cursor: pointer;

transition: all .5s; /* 動畫效果 持續期間 */

-webkit-transition: all .5s;

-moz-transition: all .5s;

}

#goTop:hover { /* 滑鼠經過按鈕時 */

opacity: 1; /* 透明度 */

width: 80px; /* 按鈕寬度 */

height: 80px; /* 按鈕高度 */

}

</style>

amychang2014 發表在 痞客邦 留言(0) 人氣()

Hover.css
http://ianlunn.github.io/Hover/

amychang2014 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。