subject

1. IntroductionYour task is to create an ebook reader that retrieves the book data from a network source and displays a portion of it.2. LayoutYour screen should be designed in a responsive fashion, with the following requirements:• There should be a navigation area that:– if the device is taller than wide is positioned on the left hand side of the display,– if the device is wider than tall is positioned on the top of the display,– this area should always be visible, and not scroll with the rest of the content,– there should be some controls to navigate through the book in this area,– at the top of this area the users location should be displayed, if permitted to do so, and if not then the exact textCannot Gather the Location Information from the User displayed in its place.• There should also be a content area that contains the ebook text, that should be scrollable if the text does not fit on thescreen.3. DataThe data for the ebook reader will need to be retrieved from a web service. The service is located at http://tmaserv. scem. westernsydney. edu. au/chapters/, which when called will return a JSON object with the number ofchunks available to be retrieved as the num attribute. Retrieving these data is performed through the use of a valid n parameter between 0 and num−1. For example, using theURL of: http://tmaserv. scem. westernsydney. edu. au/chapters/?n=0 will retrieve the first chunk ofdata. This will be returned as a JSON object with two parameters; type and data. The type parameter will contain oneof three options; bigheading, heading or paragraph. The type parameter will determine the HTML tag used todisplay the data in the DOM. Chunks can only be fetched one at a time. Note: For marking we will use different data, with adifferent number of chunks and different distribution of types. Your reader should only maintain 10 chunks of the ebook in the DOM at any one time, you will need to fetch the first 10 asthe document loads, and then fetch additional sections on request, via the controls in the navigation area. You should providecontrols for adding the next chunk, adding the previous chunk, and returning to the start. When you add a chunk to the endof the display you must remove from the DOM the chunk at the other end, maintaining the requirement of 10 chunks being inthe DOM at any one time. You should not run past either the beginning or the end of the number of chunks.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
Answers: 1
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
1. IntroductionYour task is to create an ebook reader that retrieves the book data from a network so...
Questions
question
Mathematics, 23.02.2021 21:40
Questions on the website: 13722361