<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="SenkyoList.aspx.vb" Inherits="eTella.Web.SenkyoList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>【投票画面】</title>
    <link rel="stylesheet" href="./assets/css/screen.css"/>
    <link rel="stylesheet" href="./assets/css/responsive.css"/>
    <script type="text/javascript" src="./assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="./assets/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="./assets/js/script.js"></script>
    <script type="text/javascript" src="./assets/js/TweenMax.min.js"></script>
    <script type="text/javascript">
        var enableCss3 = true;
        var userAgent = window.navigator.userAgent.toLowerCase();
        if (userAgent.indexOf('msie') != -1) {
            var appVersion = window.navigator.appVersion.toLowerCase();
            if ((appVersion.indexOf("msie 6.") != -1) ||
                (appVersion.indexOf("msie 7.") != -1) ||
                (appVersion.indexOf("msie 8.") != -1)) {
                enableCss3 = false;
            }
        }
        if (enableCss3) {
            $(document).ready(function () {
                //$('a').on('click', function (e) {
                //    e.preventDefault();

                //    var $this = $(this);
                //    if ($this.attr('href') == null){
                //        e.stopPropagation();
                //    } else{
                //        TweenLite.to([$('#dialog')], 1, {
                //            scale: 1.0,
                //            opacity: 0,
                //            onComplete: function () {
                //                window.location.href = $this.attr('href');
                //            }
                //        });
                //    }
                //});
                document.addEventListener('click', 'a', function (e) {
                    e.preventDefault();

                    var $this = $(this);
                    if ($this.attr('href') == null) {
                        e.stopPropagation();
                    } else {
                        TweenLite.to([$('#dialog')], 1, {
                            scale: 1.0,
                            opacity: 0,
                            onComplete: function () {
                                window.location.href = $this.attr('href');
                            }
                        });
                    }
                }, { passive: false });
            });
        }
    </script>
    <script type="text/javascript">
        $(function ($) {
            $('.progress').animate({
                width: '100%'
            }, { duration: 3000, easing: 'linear' });
        });
    </script>
</head>
<body id="body1" runat="server" onselectstart="return false;" onmousedown="return false;" oncontextmenu="return false;">
    <form id="form1" runat="server">
 
    <div id="numofvotes">
      <asp:Label ID="lblNumOfVotes" runat="server"></asp:Label>
    </div>
       
    <div id="process">
      <ul>
        <li class="current"></li>
        <li></li>
        <li></li>
        <li></li>
      </ul>
    </div>

    <div id="dialog">
      <div class="box">
        <div class="box-header">
            <label class="caption">投票する選挙を選んでください。</label>
        </div>
        
        <label class="warning"><asp:Label ID="LblMessage" runat="server"></asp:Label></label>

        <ul class="btn-group">
            <asp:Literal ID="LtlList" runat="server"></asp:Literal>
        </ul>
                
        <div class="box-footer">    
            <asp:Panel ID="PnlProgress" runat="server">
                <div class="progress-bar">
                    <div class="progress"></div>
                </div>
            </asp:Panel>
        </div>
      </div>
    </div>

    
<%--    <asp:Literal ID="LtlPatlite" runat="server"></asp:Literal>--%>
    <asp:Literal ID="LtlTimerOn" runat="server"></asp:Literal>
    </form>
</body>
</html>
