UI选项卡在IE9中不起作用

UI选项卡在IE9中不起作用

本文介绍了UI选项卡在IE9中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<StoreCoreLibrary.Customer>" %>
<%@ Import Namespace="StoreCoreLibrary" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">My Account</asp:Content>
<asp:Content ID="HeaderStylesContent" ContentPlaceHolderID="HeaderStylesContent" runat="server">
    <link href="<%=AppLogic.GetFilePath("Content/jQuery/dataTables/css/jquery.dataTables.css") %>" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="HeaderScriptsContent" ContentPlaceHolderID="HeaderScriptsContent" runat="server">
    <script src="<%=AppLogic.GetFilePath("Content/jQuery/dataTables/js/jquery.dataTables.min.js") %>" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%= ViewData["message"] != null ? ViewData["message"].ToString() : "" %>

<% using (Html.BeginForm())
   {
%>
    <div>
    <h2 class="formhead">My Account Information</h2>
    <%--<br />
    <span>If your previous order not found, kindly check to this link : </span>
    <a style = "color: Blue; text-decoration: underline;" href = "https://www.groupme.my/user/purchases/" target = "_blank" >
    Click here!
    </a>--%>
    </div>
	<div style = "margin-removed 10px;">
       <div id="tabs">
            <ul >
                <li ><a href="#tabs-1">Order History</a></li>
                <li><a href="#tabs-2">My Details</a></li>
                <li><a href="#tabs-3">Billing Address</a></li>
                <li><a href="#tabs-4">Shipping Address</a></li>
                <li><a href="#tabs-5">Voucher History</a></li>
                <%--<li>Password Management</li>--%>
            </ul>
            <div id="tabs-1">
                <br />
                <form id="form1" runat="server">
                    <table id="orderHistory" class="greyTable">
                        <thead>
                            <tr>
                                <th style="text-align: left;padding-removed 10px;">Order ID</th>
                                <th>Order Date</th>
                                <th>Currency</th>
                                <th style="text-align: right;padding-removed12px;">Total Item Price</th>
                                <th style="text-align: right;padding-removed12px;">Total Discount</th>
                                <th style="text-align: right;padding-removed12px;">Shipping Fees</th>
                                <th style="text-align: right;padding-removed12px;">Total Order Price</th>
                                <th>Payment Status</th>
                                <th>Order Status</th>
                            </tr>
                        </thead>
                    <% List<Order.OrderHistory> orderHistoryList = (List<Order.OrderHistory>)ViewData["OrderHistoryList"];
                       if (orderHistoryList != null)
                       {
                           foreach (var orderHistory in orderHistoryList)
                           { %>
                                <tr>
                                    <td style="text-align: left;padding-removed 10px;text-decoration: underline;">
                                    <%= Html.ActionLink(Html.Encode(orderHistory.OrderID), ViewData["OrderReceiptUrl"].ToString() + orderHistory.OrderID, "Account")%>
                                    </td>
                                    <td style="text-align: center">
                                    <%= Html.Encode(string.Format("{0:dd/MM/yyyy}", orderHistory.OrderDate))%>
                                    </td>
                                    <td style="text-align: center">
                                    <%= Html.Encode(orderHistory.CurrencyShortCode)%>
                                    </td>
                                    <td style="text-align: right;padding-removed12px;">
                                    <%= Html.Encode(string.Format("{0:#,##0.00}", orderHistory.TotalProductPrice))%>
                                    </td>
                                    <td style="text-align: right;padding-removed12px;">
                                    <%=orderHistory.TotalDiscount > 0 ? "-" + Html.Encode(string.Format("{0:#,##0.00}", orderHistory.TotalDiscount)) : "" %>
                                    </td>
                                    <td style="text-align: right;padding-removed12px;">
                                    <%= Html.Encode(string.Format("{0:#,##0.00}", orderHistory.ShippingFees))%>
                                    </td>
                                    <td style="text-align: right;padding-removed12px;font-weight: bold;">
                                    <%= Html.Encode(string.Format("{0:#,##0.00}", orderHistory.TotalOrderPrice))%>
                                    </td>
                                    <td style="text-align: center;font-weight: bold;">
                                        <% if (orderHistory.TransactionState.ToString() == "Captured")
                                           { %>
                                                Paid
                                        <% }
                                           else
                                           { %>
                                                <%= orderHistory.TransactionState.ToString().Replace('_', ' ')%>

                                                <% if (orderHistory.TransactionState == Order.TransactionStatus.Pending)
                                                   { %>
                                                        <br />
                                                        <button class="button btn btn-primaryblue btn-large btn-block" style="margin:5px 0px;" name="button" value='payNow_<%=orderHistory.OrderID %>' onclick="_blank">Pay Now</button>
                                                <% } %>
                                        <% } %>
                                    </td>
                                    <td style="text-align: center;font-weight: bold;">
                                        <%--<%= orderHistory.OrderProcessingStatus.ToString().Replace('_', ' ')%>--%>
                                        <% if (orderHistory.OrderProcessingStatus == Order.ProcessingStatus.Pending_Fulfillment ||
                                                  orderHistory.OrderProcessingStatus == Order.ProcessingStatus.Pending_Packing ||
                                                  orderHistory.OrderProcessingStatus == Order.ProcessingStatus.Pending_Shipment)
                                           { %>
                                                Processing
                                       <%  }
                                           else
                                           { %>
                                                <%= orderHistory.OrderProcessingStatus.ToString().Replace("_", " ")%>
                                       <%  } %>
                                    </td>
                                </tr>
                         <% }
                       } %>
                    </table>
                </form>
                <br /><br />
            </div>
            <div id="tabs-2">
                <table class="userdetail">
                    <%--<tr>
                        <td style="width: 130px">Customer ID</td>
                        <td>: <%= Html.Encode(Model.CustomerID) %></td>
                    </tr>--%>
                    <tr>
                        <td colspan = "2">
                        *If you want to update below information, please update on Lelong.my
                        </td>
                    </tr>
                    <tr>
                        <td colspan = "2">
                         
                        </td>
                    </tr>
                    <tr>
                        <td>Email</td>
                        <td>: <%= Html.Encode(Model.Email) %></td>
                    </tr>
                    <tr>
                        <td>UserID</td>
                        <td>: <%= Html.Encode(Model.LelongUserID) %></td>
                    </tr>
                    <tr>
                        <td>Name</td>
                        <td>: <%= Html.Encode(Model.Nick) %></td>
                    </tr>
                </table>
            </div>
            <div id="tabs-3">
	            <table class="userdetail">
                    <tr>
                        <td style="width: 130px"><label for="billingContactTitle">Title</label></td>
                        <td>: <%= Html.DropDownList("billingContactTitle", (SelectList)ViewData["billingContactTitleList"])%></td>
                    </tr>
                    <tr>
                        <td><label for="billingFullName">Full name</label></td>
                        <td>: <%= Html.TextBox("billingFullName", Model!=null? Model.BillingAddress.FullName: "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingMobilePhone">Mobile Phone</label></td>
                        <td>: <%= Html.TextBox("billingMobilePhone", Model!=null? Model.BillingAddress.MobilePhone: "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingHomePhone">Home Phone</label></td>
                        <td>: <%= Html.TextBox("billingHomePhone", Model != null ? Model.BillingAddress.HomePhone : "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingEmailAddress">Email</label></td>
                        <td>: <%= Html.TextBox("billingEmailAddress", Model != null ? Model.BillingAddress.EmailAddress : "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingAddress1">Address Line 1</label></td>
                        <td>: <%= Html.TextBox("billingAddress1", Model != null ? Model.BillingAddress.Address1 : "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingAddress2">Address Line 2</label></td>
                        <td>: <%= Html.TextBox("billingAddress2", Model != null ? Model.BillingAddress.Address2 : "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingCity">City:</label></td>
                        <td>: <%= Html.TextBox("billingCity", Model != null ? Model.BillingAddress.City : "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingPostCode">Postcode</label></td>
                        <td>: <%= Html.TextBox("billingPostCode", Model != null ? Model.BillingAddress.PostCode : "", new { maxlength = 10 })%></td>
                    </tr>
                    <tr>
                        <td><label for="billingStateName">State</label></td>
                        <td>: <%= Html.DropDownList("billingStateID", (SelectList)ViewData["billingStateList"])%></td>
                    </tr>
                    <tr>
                        <td><label for="billingCountryName">Country</label></td>
                        <td>: <%= Html.DropDownList("billingCountryID", (SelectList)ViewData["billingCountryList"])%></td>
                    </tr>
	                <tr>
                        <td colspan="2">
                            <br/>
                            <button class="button blue" name="button" value="changeBillingContact" id="changeBillingAddr">Update</button>
                            <span id="billingMsg"></span>
                        </td>
                    </tr>
       	        </table>
            </div>
            <div id="tabs-4">
                <%--<p class="mininote">Same As Billing Contact? Click Here <%= Html.CheckBox("duplicateContact", false, new { onclick="updateContact()" })%></p>--%>
                <table class="userdetail">
                    <tr>
                        <td style="width: 130px"><label for="shippingContactTitle">Title </label></td>
                        <td>: <%= Html.DropDownList("shippingContactTitle", (SelectList)ViewData["shippingContactTitleList"])%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingFullName">Full name </label></td>
                        <td>: <%= Html.TextBox("shippingFullName", Model != null ? Model.ShippingAddress.FullName: "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingMobilePhone">Mobile Phone </label></td>
                        <td>: <%= Html.TextBox("shippingMobilePhone", Model != null ? Model.ShippingAddress.MobilePhone: "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingHomePhone">Home Phone </label></td>
                        <td>: <%= Html.TextBox("shippingHomePhone", Model != null ? Model.ShippingAddress.HomePhone: "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingEmailAddress">Email </label></td>
                        <td>: <%= Html.TextBox("shippingEmailAddress", Model != null ? Model.ShippingAddress.EmailAddress: "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingAddress1">Address Line 1 </label></td>
                        <td>: <%= Html.TextBox("shippingAddress1", Model != null ? Model.ShippingAddress.Address1: "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingAddress2">Address Line 2 </label></td>
                        <td>: <%= Html.TextBox("shippingAddress2", Model != null ? Model.ShippingAddress.Address2: "", new { maxlength = 50 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingCity">City </label></td>
                        <td>: <%= Html.TextBox("shippingCity", Model != null ? Model.ShippingAddress.City: "", new { maxlength = 20 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingPostCode">Postcode </label></td>
                        <td>: <%= Html.TextBox("shippingPostCode", Model != null ? Model.ShippingAddress.PostCode : "", new { maxlength = 10 })%></td>
                    </tr>
                    <tr>
                        <td><label for="shippingStateName">State </label></td>
                        <td>: <%= Html.DropDownList("shippingStateID", (SelectList)ViewData["shippingStateList"])%></td>
                    </tr>
                    <tr>
                    <td><label for="shippingCountryName">Country </label></td>

                    <td>: <%= Html.DropDownList("shippingCountryID", (SelectList)ViewData["shippingCountryList"])%></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <br/>
                            <button class="button blue" name="button" value="changeShippingContact" id="changeShippingAddr">Update</button>
                            <span id="shippingMsg"></span>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="tabs-5">
            <table id="Vhistory" class="greyTable">
                        <thead>
                            <tr>
                                <th style="text-align: center;padding-removed 10px;">Voucher ID</th>
                                <th style="text-align: center;padding-removed12px;">Voucher Title</th>
                                <th style="text-align: center;padding-removed12px;">Redemption Status</th>
                                <th style="text-align: center;padding-removed12px;">Claim status </th>
                                <th style="text-align: center;padding-removed12px;">QRCode</th>
                                <th style="text-align: center;padding-removed12px;">Reprint Voucher</th>
                              <%-- <th style="text-align: right;padding-removed12px;">ClaimDate</th>--%>
                            </tr>
                        </thead>
                        <% List<Order.VoucherDetail> Vhistory = (List<Order.VoucherDetail>) ViewData["VoucherHistory"];
                           if (Vhistory != null)
                           {
                               foreach (var item in Vhistory)
                               {
                                   int codelen = item.VoucherGUID.Length;
                                 //  var productdetails = Product.GetProduct(item.ProductID, true);

                                   if (item.ClaimStatus > 0)
                                   {
                                        %>
                               <tr  >

                                 <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">
                               <%=item.VoucherID%>
                               </td>
                                <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">

                                <%=Html.ActionLink(item.SuperTitle,
                                                                               SEO.GetTitleSEOLink(item.SuperTitle) + "/" + item.ProductID, "Product/",
                                            null, new { target = "_blank" })%>
                               </td>
                                 <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">
                               <%=  Html.Encode(string.Format("{0:dd/MM/yyyy}",item.VClaimStartDate))%> TILL  <%=  Html.Encode(string.Format("{0:dd/MM/yyyy}", item.VClaimClosingDate))%>
                               </td>
                                <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">
                               <% if (item.ClaimStatus != 0)
                                  {
                                      %>
                                     <%-- <input type="checkbox" checked disabled />--%>
                                     <p style="color:Red !important" >CLAIMED</p>
                                     <% }
                                  else
                                  {
                                      %>
                                       <%--<input type="checkbox"  disabled />--%>
                                       <p></p>
                                       <%}
                                      %>
                               </td>
                                 <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">

                                   <img src="http://chart.apis.google.com/chart?cht=qr&chs=100x100&chl=%0D%0AVoucher%20Code%20%3A<%= item.VoucherGUID.Substring(0,codelen-4) %>%0D%0AConfirmation%20code%20%3A<%=item.VoucherGUID.Substring(codelen-4) %> &chld=H|0\" alt="QR Code" />

                               </td>
                                 <td style="text-align: center;font-weight: bold; background-color: #F0AACE !important;">
                                     <% AppLogic.SetSession("VID", item.VoucherID);
                                         string linkURL = AppLogic.GetApplicationPath("WebForms/VoucherReceipt.aspx") + "?VID=" +item.VoucherID; %>
    <a  style = "color: #147112; text-decoration: none;" target="_blank" href='<%=linkURL %>'    >Click here</a>

                                 </td>

                               <% }
                                   else
                                   { %>
                               <tr>
                                 <td style="text-align: center;font-weight: bold;">
                               <%=item.VoucherID%>
                               </td>
                                <td style="text-align: center;font-weight: bold;">

                                <%=Html.ActionLink(item.SuperTitle,
                                                                               SEO.GetTitleSEOLink(item.SuperTitle) + "/" + item.ProductID, "Product/",
                                            null, new { target = "_blank" })%>
                               </td>
                                 <td style="text-align: center;font-weight: bold;">
                               <%=  Html.Encode(string.Format("{0:dd/MM/yyyy}", item.VClaimStartDate))%> -  <%=  Html.Encode(string.Format("{0:dd/MM/yyyy}", item.VClaimClosingDate))%>
                               </td>
                                <td style="text-align: center;font-weight: bold;">
                               <% if (item.ClaimStatus != 0)
                                  {
                                      %>
                                     <%-- <input type="checkbox" checked disabled />--%>
                                     <p style="color:Red !important" >CLAIMED</p>
                                     <% }
                                  else
                                  {
                                      %>
                                       <%--<input type="checkbox"  disabled />--%>
                                       <p></p>
                                       <%}


                                          %>
                               </td>
                                 <td style="text-align: center;font-weight: bold;">
                                <img src="http://chart.apis.google.com/chart?cht=qr&chs=100x100&chl=%0D%0AVoucher%20Code%20%3A<%= item.VoucherGUID.Substring(0,codelen-4) %>%0D%0AConfirmation%20code%20%3A<%=item.VoucherGUID.Substring(codelen-4) %> &chld=H|0\" alt="QR Code" />

                               </td>
                                 <td style="text-align: center;font-weight: bold;">
                                     <% AppLogic.SetSession("VID", item.VoucherID);
                                         string linkURL = AppLogic.GetApplicationPath("WebForms/VoucherReceipt.aspx") + "?VID=" +item.VoucherID; %>
    <a  style = "color: #147112; text-decoration: none;" target="_blank" href='<%=linkURL %>'    >Click here</a>

                                 </td>

                               <% } %>



                              <%--  <td>
                               <%=item.ClaimDate%>
                               </td>--%>
                               </tr>

                          <%
                               }
                           }
                            %>

            </table>

            </div>
        </div>
    </div>
	<br />
<% } %>

    <script type="text/javascript">
        $(document).ready(function () {
            $('#changeBillingAddr').click(function () {
                $('#billingMsg').text("Saving...").fadeIn("fast");
                $.ajax({
                    url: '<%= Url.Action("ChangeBillingAddress", "Account") %>',
                    dataType: 'json',
                    data: { title: $('#billingContactTitle').val(),
                        name: $('#billingFullName').val(),
                        mobilePhone: $('#billingMobilePhone').val(),
                        homePhone: $('#billingHomePhone').val(),
                        email: $('#billingEmailAddress').val(),
                        addr1: $('#billingAddress1').val(),
                        addr2: $('#billingAddress2').val(),
                        city: $('#billingCity').val(),
                        postcode: $('#billingPostCode').val(),
                        state: $('#billingStateID').val(),
                        country: $('#billingCountryID').val()
                    },
                    success: function (data) {
                        if (data.message.toString() == "") {
                            $('.close').trigger("click");
                            $('#title').text(data.title);
                            $('#fullName').text(data.name);
                            $('#shippingAddr1').text(data.addr1);
                            $('#shippingAddr2').text(data.addr2);
                            $('#postcode').text(data.postcode);
                            $('#state').text(data.state);
                            $('#country').text(data.country);
                            $('#mobilePhone').text(data.mobilePhone);
                            $('#email').text(data.email);
                            $('#billingMsg').text("Updated").fadeIn("slow").delay("1000").fadeOut("slow");
                        } else {
                            alert(data.message);
                            $('#billingMsg').fadeOut("fast");
                        }
                    },
                    error: function () { alert('failed'); }
                });
                return false;
            });

            $('#changeShippingAddr').click(function () {
                $('#shippingMsg').text("Saving...").fadeIn("fast");
                $.ajax({
                    url: '<%= Url.Action("ChangeShippingAddress", "Account") %>',
                    dataType: 'json',
                    data: { title: $('#shippingContactTitle').val(),
                        name: $('#shippingFullName').val(),
                        mobilePhone: $('#shippingMobilePhone').val(),
                        homePhone: $('#shippingHomePhone').val(),
                        email: $('#shippingEmailAddress').val(),
                        addr1: $('#shippingAddress1').val(),
                        addr2: $('#shippingAddress2').val(),
                        city: $('#shippingCity').val(),
                        postcode: $('#shippingPostCode').val(),
                        state: $('#shippingStateID').val(),
                        country: $('#shippingCountryID').val()
                    },
                    success: function (data) {
                        if (data.message.toString() == "") {
                            $('.close').trigger("click");
                            $('#title').text(data.title);
                            $('#fullName').text(data.name);
                            $('#shippingAddr1').text(data.addr1);
                            $('#shippingAddr2').text(data.addr2);
                            $('#postcode').text(data.postcode);
                            $('#state').text(data.state);
                            $('#country').text(data.country);
                            $('#mobilePhone').text(data.mobilePhone);
                            $('#email').text(data.email);
                            $('#shippingMsg').text("Updated").fadeIn("slow").delay("1000").fadeOut("slow");
                        } else {
                            alert(data.message);
                            $('#shippingMsg').fadeOut("fast");
                        }
                    },
                    error: function () { alert('failed'); }
                });
                return false;
            });

            $('#shippingCountryID').change(function () {
                var val = $(this).val();
                $states = $('#shippingStateID');
                $.ajax({
                    url: '<%= Url.Action("States", "Lookup") %>',
                    dataType: 'json',
                    data: { selectedCountryID: val },
                    success: function (statesList) {
                        $states.children().remove();
                        $.each(statesList, function (i, state) {
                            $states.append('<option value="' + state.StateID + '">' + state.StateName + '</option>');
                        });
                    },
                    error: function () { alert('failed'); }
                });
            });

            $('#billingCountryID').change(function () {
                var val = $(this).val();
                $states = $('#billingStateID');
                $.ajax({
                    url: '<%= Url.Action("States", "Lookup") %>',
                    dataType: 'json',
                    data: { selectedCountryID: val },
                    success: function (statesList) {
                        $states.children().remove();
                        $.each(statesList, function (i, state) {
                            $states.append('<option value="' + state.StateID + '">' + state.StateName + '</option>');
                        });
                    },
                    error: function () { alert('failed'); }
                });
            });

            var table = $('#orderHistory').dataTable();
            table.fnSort([[0, 'desc']]);
            var vtable = $('#Vhistory').dataTable();
            vtable.fnSort([[0, 'desc']]);
            //$(".tabs").tabs();

        });
    </script>
</asp:Content>













<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
        <meta name="description" content="<%=ViewData["MallMetaDesc"] %>" />
        <meta name="keywords" content="<%=ViewData["MallMetaKeyword"] %>" />
        <title><%= ViewData["MallName"]%> - <asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>

        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/favicon.ico") %>" rel="icon" type="image/ico" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/apple-touch-icon-precomposed.png") %>" rel="apple-touch-icon" />

        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Styles/Site.css") %>" rel="stylesheet" type="text/css" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetMallThemePath(ViewData["MallTemplate"].ToString(), "Styles/style.css") %>" type="text/css" rel="stylesheet" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/jQuery/tab/jquery-ui.min.css") %>" rel="stylesheet" type="text/css" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Styles/caption/style_common1.css") %>" rel="stylesheet" type="text/css" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Styles/caption/style61.css") %>" rel="stylesheet" type="text/css" />
        <link href="<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/jQuery/quickView/css/jquery.modalbox.css") %>" rel="stylesheet" type="text/css" />
        <asp:ContentPlaceHolder ID="HeaderStylesContent" runat="server" />
        <%--<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/1.2.1/jquery-migrate.min.js"></script>--%>

        <script src='<%=StoreCoreLibrary.AppLogic.GetFilePath("Scripts/jquery-1.8.2.js") %>' type="text/javascript"></script>
        <script src="<%=StoreCoreLibrary.AppLogic.GetFilePath("Scripts/jquery.cookie.js") %>" type="text/javascript"></script>
        <script src='<%=StoreCoreLibrary.AppLogic.GetFilePath("Scripts/mall.common.js") %>' type="text/javascript"></script>
        <script src="<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/jQuery/tab/jquery-ui.min.js") %>" type="text/javascript"></script>
        <script src='<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/jQuery/quickView/js/jquery.modalbox-1.4.1-min.js") %>' type="text/javascript"></script>
        <script src='<%=StoreCoreLibrary.AppLogic.GetFilePath("Content/jQuery/lazyload/jquery.unveil.min.js") %>' type="text/javascript"></script>
        <asp:ContentPlaceHolder ID="HeaderScriptsContent" runat="server" />

        <% Html.RenderPartial("~/Views/Shared/GoogleAnalyticsControl.ascx", string.Empty); %>
    <script>
        $(function () {
            $("#tabs").tabs();
        });
  </script>
    </head>
    <body id="top">
        <%--Header--%>
        <% Html.RenderPartial(string.Format("~/Views/Shared/Themes/MallTheme/{0}/MallHeaderControl.ascx", ViewData["MallTemplate"])); %>
        <%-- End of Header--%>

        <div class="content">
            <div class="container_16 sideBorder" style = "margin-removed 0px; padding-removed 10px;">
                <div class="grid_16">
                    <asp:ContentPlaceHolder ID="MainContent" runat="server"></asp:ContentPlaceHolder>
                </div>
            </div>
        </div>

        <%--Footer--%>
        <% Html.RenderPartial(string.Format("~/Views/Shared/Themes/MallTheme/{0}/MallFooterControl.ascx", ViewData["MallTemplate"])); %>
        <%-- End of Footer--%>
    </body>
    <script type="text/javascript">

        document.getElementById("sb-search").style.display = 'none';

        $(function() {
            $(".lazy").unveil();
        });

        function shoppingCartQuantityChanged() {
            updateShoppingCartCount('<%= Url.Action("UpdateShoppingCartCount", "Lookup") %>', '');
        }
    </script>
</html>

推荐答案




这篇关于UI选项卡在IE9中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 09:16