Bootstrap Header不适用于所有最终用户

时间:2016-04-07 19:09:33

标签: javascript css asp.net-mvc twitter-bootstrap

我最近推出了一个内部报告网站。当我在某些用户中测试它时,我没有任何问题。但是,现在我发现终端用户无法使用基于引导程序的标头工作。

起初我可能是引用的顺序。我稍微搞砸了一下。然而,这使情况变得更糟。所以我把它放回原处。

我告诉他们要确保他们的JS已启用。这没有用。此外,它们正在使用哪个版本的IE似乎并不重要。

<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>



<script src="~/Scripts/jquery-1.10.2.js"></script>
<script src="~/Scripts/bootstrap.js"></script>
<script src="~/Scripts/respond.js"></script>
<script src="~/Scripts/select2.min.js"></script>
<script src="~/Scripts/modernizr-2.6.2.js"></script>
<link href="~/Content/bootstrap.css" rel="stylesheet" />

<div class="navbar navbar-inverse navbar-fixed-top" style="background:#ffffff url(@Url.Content("~/Content/Images/r_header.png")) top right repeat-y">

    <div class="container">
        <div class="navbar-header navbar-fixed-top">
            <table>
                <tbody>
                    <tr>
                        <td>
                            <a href='http://in.providence.org/sss/Pages/default.aspx'>
                                <img src='@Url.Content("~/Content/Images/mast_logo.gif")' />
                            </a>
                        </td>
                        <td><h1 style="margin-left:50px;margin-top:3px"><b>@ViewBag.Title</b></h1></td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li>@Html.ActionLink("Home", "Index", "Home")</li>

                <li role="presentation" class="dropdown">
                     <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                         Projects <span class="caret"></span>
                     </a>
                     <ul class="dropdown-menu">

                         <li>@Html.ActionLink("Capitalized Hours", "HoursCapitalized", "Capitalization")</li>
                         <li>@Html.ActionLink("Cross Charges", "CrossCharges", "Capitalization")</li>
                         <li>@Html.ActionLink("CC Project", "CCProjects", "Capitalization")</li>
                         <li>@Html.ActionLink("Capitalization", "Index", "Capitalization")</li>

                     </ul>
                 </li>  

                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                        Vendor Info <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>@Html.ActionLink("Vendor DashBoard", "VendorDisplay", "Vendor")</li>
                        <li>@Html.ActionLink("Purchase Order Dashboard", "PurchaseOrder", "Vendor")</li>
                        <li>@Html.ActionLink("Company 4 Vendor Dashboard", "Company4VendorDisplay", "Vendor")</li>
                        <li>@Html.ActionLink("Invoice Look Up", "Index", "Vendor")</li>


                    </ul>
                </li>
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                        Payroll <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>@Html.ActionLink("Payroll Dashboard", "Index", "PayRoll")</li>
                        <li>@Html.ActionLink("Contractor Dashboard", "Contractor", "PayRoll")</li>



                    </ul>
                </li>
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                        Position Control <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>@Html.ActionLink("Reports", "HRChange", "Default")</li>


                    </ul>
                </li>

            </ul>
        </div>
    </div>
</div>

0 个答案:

没有答案