destruct0

Layout

Sep 5th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.30 KB | None | 0 0
  1. @{
  2.     ViewBag.Title = "Пици";
  3. }
  4.  
  5. <!DOCTYPE html>
  6. <html>
  7.     <head>
  8.         <title>@ViewBag.Title</title>
  9.         <meta charset="utf-8" />
  10.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  11.         <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
  12.         <link rel="shortcut icon" href="images/Pizzasliceicon.png" type="image/x-icon" />
  13.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  14.         @Scripts.Render("~/bundles/modernizr")
  15.         <script type="text/javascript">
  16.             $(function () {
  17.                 var menuEffect = function () {
  18.                     $('.nav li').find('>ul').hide();
  19.                 }
  20.                 menuEffect.prototype = {
  21.                     effect: function () {
  22.                         $('.nav li').hover(function () {
  23.                             $(this).find('>ul').slideDown(600);
  24.                         }, function () {
  25.                             $(this).find('>ul').hide();
  26.                         }
  27.                     )
  28.                     }
  29.                 }
  30.                 obj = new menuEffect();
  31.                 obj.effect();
  32.             });
  33.         </script>
  34.     </head>
  35.     <body>
  36.         <div id="wrapper">            
  37.             <section id="logo">
  38.                 <article>
  39.                     <div >
  40.                        
  41.                     </div>
  42.                 </article>
  43.             </section>
  44.             <header id="pizza_header">            
  45.                 <ul class="header_Contacts">
  46.                      @foreach (var phone in Model.PhoneOrders)
  47.                         {
  48.                             <li>
  49.                                 <img src="@phone.LogoImage" alt="globul logo" width="18" height="15" />
  50.                                 <p class="globul_phone">@phone.OperatorName: @phone.PhoneNumber</p>                        
  51.                             </li>
  52.                         }
  53.                 </ul>
  54.             </header>
  55.                 @RenderSection("Menu", false)
  56.             <section>
  57.                 <article>
  58.                     <div id="catalog_title">
  59.                         <div id="pizza_title_bg">Пици</div>
  60.                     </div>
  61.                 </article>
  62.             </section>
  63.             <section id="pizzas_body">
  64.                 @RenderBody()
  65.             </section>            
  66.                 @RenderSection("Footer", false)
  67.         </div>
  68.     </body>
  69. </html>
Advertisement
Add Comment
Please, Sign In to add comment