<input id="button" type="submit" name="button" value="enter" onclick="setTimeout(check(),3000);"/>

 

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

 http://stackoverflow.com/questions/16359492/changing-background-image-one-time-on-responsive-background-image

function test() {
$("img").each(function(index) {

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

http://world.yam.com/post.php?id=2070


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

CSR推薦閱讀:從「塑膠鴉片」發想「公司治理」與「社會責任」的重要性

http://blog.csrone.com.tw/?p=52

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

using System.Net;
using System.Text;
using System.Text.RegularExpressions;

content = Regex.Replace(dr["內容"].ToString(), "<.*?>", string.Empty);
content_list[i] = content.Trim();

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

<div class="newsItemTitle">
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
<div class="newsItemBox">                        
    <div class="newsItemContent">
                <asp:Label ID="Label1_1" runat="server" Text="Label"></asp:Label>
        </div>
    <div class="newsItemReadAll">
                <asp:HyperLink ID="HyperLink1" runat="server">  ...《完整閱讀》</asp:HyperLink>
        </div>
</div>

.newsItemBox {
    z-index:1;
    position: relative;
    top: 0;
    left: 0;
    float: left;
    width: 565px;
    height: 80px;
}
.newsItemContent {
    z-index:1;
    position: relative;
    top: 0;
    left: 0;
    padding: 5px 0 0 5px;
    float: left;
    width: 565px;
    height: 80px; /*95px;*/
    line-height: 20px;
    font-size: 12px;
    font-family: 新細明體;
    color: #e5e5e5;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    text-align:justify;
    overflow:hidden;
}
.newsItemReadAll {
    z-index:888;
    position: relative;
    top: -21px;
    left: 446px;
    padding: 5px 0 0 5px;
    float: left;
    width: 120px;
    height: 12px; /*95px;*/
    font-size: 12px;
    font-family: 新細明體;
    text-align:right;
    vertical-align:bottom;
    color: #ff6a00;
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0) 8%, rgb(0,0,0,0) 20%);

    /* Mozilla Firefox */ 
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0) 8%, rgb(0,0,0,0) 20%);

    /* Opera */ 
    background-image: -o-linear-gradient(left, rgba(0,0,0,0) 8%, rgb(0,0,0,0) 20%);

    /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-gradient(linear, left, right, color-stop(0, rgba(0,0,0,0)), color-stop(1, rgb(0,0,0)));

    /* Webkit (Chrome 11+) */ 
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0) 8%,rgb(0,0,0) 20%);

    /* W3C Markup, IE10 Release Preview */ 
    background-image: linear-gradient(to right, rgba(0,0,0,0) 8%, rgb(0,0,0) 20%);
}

 

 

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

<!DOCTYPE HTML>
<html>

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

<!DOCTYPE HTML>
<html>

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

<script type="text/javascript">
        var clock;
        var year = 2014;
        var month = 5;  //月份從0開始算
        var date = 30;
        var h = 11;
        var m = 31;
        var s = 0;
        var ms = 0;

        var date = new Date(year, month, date, h, m, s, ms);   
        var now = new Date();
        var diff = date.getTime() / 1000 - now.getTime() / 1000;
        $(document).ready(function () {
            $(".indexLive").hide();

            if (diff <= 0) {
                $(".clock").hide();
                $(".indexLive").show();
            }
            // Instantiate a coutdown FlipClock
            clock = $('.clock').FlipClock(diff, {
                clockFace: 'DailyCounter',
                countdown: true,
            });
            
        });        
</script>
<script type="text/javascript">
        var countdownnumber = diff+2;
        var countdownid;
        $(document).ready(countdownfunc());
        function countdownfunc() {
            if (countdownnumber < 0) {
                //alert("倒數結束");
                $(".clock").hide("slow");
                $(".indexLive").show();
                clearTimeout(countdownid);
            } else {
                countdownnumber--;
                if (countdownid) {
                    clearTimeout(countdownid);
                }
                countdownid = setTimeout(countdownfunc, 1000);
            }
        }
</script>

        <div class="indexTimer">            
            <div class="clock" style="margin:2em;"></div>        
                <div class="indexLive">
                    <img src="_img/timeLive.png" />
            </div>
        </div>

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

<html>
<head>

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