Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Javascript / AJAX If it is a users first time visiting the page or the cookies (to be discussed) have expired, they are prompted

  • Using Javascript / AJAX

  • If it is a users first time visiting the page or the cookies (to be discussed) have expired, they are prompted for their name.

  • Otherwise, the name stored in the cookie is used.

  • Their name is then sought in a list of important people, important.txt using an AJAX call.

  • If their name is not found, the page adds a message, No greeting for you! and their name is not saved, but

  • if their name is found, the page can animate as follows:

    • They see a panel of 51 labelled buttons for animation speed settings (0 = off, and 1-50 increase in speed) and a panel of 3 buttons for colours red, yellow, and blue.

    • If the cookie was there when the page loaded, their past choice of speed and colour should automatically be selected and the animation (to be described) begins.

    • Otherwise, the form starts off with speed 0 and colour red selected.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions