Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Pizza Parlor</title>
- <link rel="stylesheet" type="text/css" media="all" href="pizzaParlor.css" />
- <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
- <script type="text/javascript" src="pizzaParlor.js"></script>
- <script>
- //<!--
- // put your code here to retrieve the data from your cookies
- // and display the customer information and order information
- // in the appropriate area's of the screen.
- // Also need to add code to display an estimated time (approx 30min)
- var pizzaSize = GetCookie("pizSZ");
- var pizzaCrust = GetCookie("pizzaCRST");
- var pizzaType = GetCookie("pizzaTyp");
- var totalCost = GetCookie("totalCST");
- var firstName = GetCookie("fNAME", firstName);
- var lastName = GetCookie("lNAME", lastName);
- var emailAdd = GetCookie("email", emailAdd);
- var address = GetCookie("add", address);
- var aptNum = GetCookie("apt", aptNum);
- var city = GetCookie("cty", city);
- var state = GetCookie("st", state);
- var zipCode = GetCookie("zip", zipCode);
- var phoneNum = GetCookie("pNUM", phoneNum);
- /* -----------------------------------------------------
- * name: updateDisplay()
- * purpose: Updates the shopping cart with any changes in order.
- * author: Eric Collins
- * date: 03/03/2014
- * parameters: none
- */
- function updateDisplay(){
- //alert("updateDisplay was called");
- //alert(order[0]);
- $('#messages').text("");
- for(var i = 0; i < order.length; i++){
- $('#messages').append(order[i] + price[i] + "<br />");
- } // end for loop
- } // end function updateDisplay()
- $('document').ready(function(){
- updateDisplay();
- });
- //-->
- </script>
- </head>
- <body>
- <div id="wrapper" class="wrapper">
- <div id="header" class="header">
- <img src="images/pizzaParlorLogo.png" alt="LogoImage" height="100" width="150" style="float: left;" />
- <h1>Pizza Parlor Example</h1>
- <span style="text-align: right;">(425) 555-1212</span><br />
- <span style="text-align: right;">555 5th Ave</span><br />
- <span style="text-align: right;">Everett, WA 98203</span>
- </div>
- <!-- horizontal menu -->
- <div id="horizontalMenu" style="text-align: center; font-size: 10px;">
- <a href="#">Home</a>
- <a href="#">Order Now</a>
- <a href="#">Contact Us</a>
- </div>
- <!-- horizontal menu -->
- <br />
- <div id="content" class="main">
- <div id="center" class="yourOrder">
- <h2>Customer Information</h2>
- <hr />
- </div>
- <div id="rightSidebar" class="shoppingCart">
- <h2>Your Order</h2>
- <div id="messages"> </div>
- </div>
- <div id="deliveryTime">
- <label id="delivery"> </label>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement