2. External Javascript An external Javascript http://courses.cs.cityu.edu.hk/cs2204/cw3/cinemas.js must be used in the Now Showing and Ticket...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. External Javascript An external Javascript http://courses.cs.cityu.edu.hk/cs2204/cw3/cinemas.js must be used in the Now Showing and Ticket pages. This script provides a function getCinemas() to return information about cinemas and show date time. You also need to define another external Javascript movies.js in which a function getMovies() can be called to return the movie information you have used in CW1 and CW2. Specifications of the functions getMovies() and getCinemas() are in the Appendix. During testing, you may use a local copy of cinemas.js and edit it to give more test data. The above link must be used in your final submission and different data may be used to test your pages. 3. Movies Page • prepare your external Javascript movies.js • • • 4. • using the function getMovies(), generate the HTML for the Now Showing and Up Coming lists of movies. The CSS styles of the page should be maintained as in CW2 you cannot assume and hard-coded the number of movies in your script set up and play the video using information for the 1st movie in the Now Showing list at the end of video playing, wait for 2 seconds and switch to the next movie in the Now Showing list; continue with the Up Coming list or go back to the 1st movie if necessary when a movie thumbnail (image) is clicked, the current showing video will be stopped and the video of the clicked movie will be shown; at the end of it, continue showing the next one in the list after waiting 2 seconds Now Showing Page using the function getCinemas(), generate the Select Cinema drop down box and corresponding movies and show date time available for the first cinema when another cinema is selected, movies and their shows will be updated the movie name and show index (see appendix I) will be sent to Ticket page when the Buy Ticket button is clicked • layout and styles done in CW2 must be preserved 2. External Javascript An external Javascript http://courses.cs.cityu.edu.hk/cs2204/cw3/cinemas.js must be used in the Now Showing and Ticket pages. This script provides a function getCinemas() to return information about cinemas and show date time. You also need to define another external Javascript movies.js in which a function getMovies() can be called to return the movie information you have used in CW1 and CW2. Specifications of the functions getMovies() and getCinemas() are in the Appendix. During testing, you may use a local copy of cinemas.js and edit it to give more test data. The above link must be used in your final submission and different data may be used to test your pages. 3. Movies Page • prepare your external Javascript movies.js • • • 4. • using the function getMovies(), generate the HTML for the Now Showing and Up Coming lists of movies. The CSS styles of the page should be maintained as in CW2 you cannot assume and hard-coded the number of movies in your script set up and play the video using information for the 1st movie in the Now Showing list at the end of video playing, wait for 2 seconds and switch to the next movie in the Now Showing list; continue with the Up Coming list or go back to the 1st movie if necessary when a movie thumbnail (image) is clicked, the current showing video will be stopped and the video of the clicked movie will be shown; at the end of it, continue showing the next one in the list after waiting 2 seconds Now Showing Page using the function getCinemas(), generate the Select Cinema drop down box and corresponding movies and show date time available for the first cinema when another cinema is selected, movies and their shows will be updated the movie name and show index (see appendix I) will be sent to Ticket page when the Buy Ticket button is clicked • layout and styles done in CW2 must be preserved
Expert Answer:
Answer rating: 100% (QA)
a Probability of Waiting in Line Pw We dont have the specific value of I arrival rate every 3 ... View the full answer
Related Book For
Auditing A Practical Approach
ISBN: 9780730382645
4th Edition
Authors: Robyn Moroney, Fiona Campbell, Jane Hamilton
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
A production line will be used to manufacture an item. The line will be operated with using the same personnel during single shift operations. During the initial line certification, the first item...
-
Prepare a record of your income and expenses for the last 30 days; then prepare a personal cash budget for the next three months. (Use the format in Work sheet 2.3, but fill out only three months and...
-
A fraternity at a university lobbies the administration to start a hockey team. To bolster its case, it reports that of a simple random sample of 100 students, 83% support starting the team. Upon...
-
An \(R L C\) circuit with a \(10 \mu \mathrm{F}\) capacitor is connected to a variable-frequency power supply with an rms output voltage of \(6.0 \mathrm{~V}\). The rms current in the circuit as a...
-
You want to invest $50,000 in a portfolio with a beta of no more than 1.4 and an expected return of 12.4%. Bay Corp. has a beta of 1.2 and an expected return of 11.2%, and City Inc. has a beta of 1.8...
-
An activated sludge system with the MLE process (i.e., pre- anoxic system with internal recycle) has the following influent wastewater characteristics and is operated with an aerobic volume of 4000...
-
Prepare Trial Balance? Angela Mosely owns Innovative Designs. The Accounts and their balances for the Trial Balance of the first for January 31, 20X1, the first month of operation, are shown below....
-
You are a financial analyst for a brokerage firm. Is there a difference in dividend yield between stocks listed on the NYSE & NASDAQ? You collect the following data: NYSE NASDAQ Number 22 25...
-
do we use inflation or rate of inflation for calculating real return?
-
Implement this step in your main method. For this step, choose either generic stack or generic queue based on which you believe is the best to achieve the requirements in this step. Also come up with...
-
The development of the Ghanaian mortgage market is affected by a number of factors. Discuss the factors inhibiting the development of the mortgage market in Ghana. What in your opinion can be done to...
-
10. Consider a square plate of length 1=400 m. The plate has N = 36 uniformly distributed circular holes, each hole of a radius ro = 4 m. (a) Find the ratio of the SQFD coefficient of the perforated...
-
Create an application that calculates the Body Mass Index (BMI) of a person. The application should get the height and mass of the person and show the result in the second activity. Regarding the...
-
Earlier civilizations smelted iron from ore by heating it with charcoal from a wood fire: 2Fe2O3(s) + 3C(s) > 4F(s) + 3CO2(g) a) Write an expression for G as a function of temperature. Prepare a...
-
An access route is being constructed across a field (Figure Q8). Apart from a relatively firm strip of ground alongside the field's longer side AB, the ground is generally marshy. The route can...
-
Delivery documentation for the sale of goods: (a) Is important because it provides evidence supporting the date of sale. (b) Is not important to audit because the invoice date is always the correct...
-
How does the result of controls testing affect auditing of the processes affecting cash and the substantive testing of the cash balance?
-
Explain how the nature of a substantive test could affect decisions about when and how much substantive testing is performed. How do these decisions relate to the overall risk assessment for the item...
-
Locate three to five articles about problems experienced by individuals or families who failed to develop estate plans or to identify responsible parties in the event of physical or mental...
-
Conduct an online estate planning article search on current and future estate tax law changes. Write a brief summary of recommendations from the articles showing how future changes in the tax code...
-
So-hyun }oo, and her husband KJ, Each own assets valued at$3,000,000. lfKJ dies in 2012 and leaves all of his assets to So-hyun, without the use of a trust arrangement, how much of his estate will be...
Study smarter with the SolutionInn App