Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

Using html, css and JavaScript. Create the below. Just use any image

1) First, we need to add an onclick event to the checkbox with the ID "check1" in
movies_ex3.html. You will do this much like you did Step 1 of Exercise 2. When the checkbox
is clicked, we want to call a function that we will name checkUncheck1 ().
onclick="checkUncheck1 ()"
2) Then, we need to write the checkUncheck1 function in movies_ex3.js. Remove the lines
that we ask you to remove in the javascript file in order to uncomment checkUncheck 1 (). Then
add each of the following commands where appropriate.
document.getElementByld ("poster").style.display="inline";
document.getElementByld("poster").style.display="none";
The 'if' statement in the javascript file will be used to determine if the image is displayed or not.
If the checkbox is checked, we should display it, but otherwise we should hide it. The image
below shows what you should see when the Movie checkbox is checked.
3) Mimic steps 2 and 3 above for toggling the image that is displayed in the Director and Actors
panel. If all three check boxes are checked, you should see three images.
Movie
Солярис
My Computational Thinking Kit
Ex2+3
Ex4+5
Director
Actors
A psychologist is sent to a space station orbiting a planet called Solaris to investigate the death of a doctor and the mental problems of cosmonauts on the station. He soon
discovers that the water on the planet is a type of brain which brings out repressed memories and obsessions.
expand button
Transcribed Image Text:1) First, we need to add an onclick event to the checkbox with the ID "check1" in movies_ex3.html. You will do this much like you did Step 1 of Exercise 2. When the checkbox is clicked, we want to call a function that we will name checkUncheck1 (). onclick="checkUncheck1 ()" 2) Then, we need to write the checkUncheck1 function in movies_ex3.js. Remove the lines that we ask you to remove in the javascript file in order to uncomment checkUncheck 1 (). Then add each of the following commands where appropriate. document.getElementByld ("poster").style.display="inline"; document.getElementByld("poster").style.display="none"; The 'if' statement in the javascript file will be used to determine if the image is displayed or not. If the checkbox is checked, we should display it, but otherwise we should hide it. The image below shows what you should see when the Movie checkbox is checked. 3) Mimic steps 2 and 3 above for toggling the image that is displayed in the Director and Actors panel. If all three check boxes are checked, you should see three images. Movie Солярис My Computational Thinking Kit Ex2+3 Ex4+5 Director Actors A psychologist is sent to a space station orbiting a planet called Solaris to investigate the death of a doctor and the mental problems of cosmonauts on the station. He soon discovers that the water on the planet is a type of brain which brings out repressed memories and obsessions.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education