Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, please code this assignment (circled in RED), in Javascript with HTML. The information above is just helpful information. Overview and General Notes Let's explore
Hello, please code this assignment (circled in RED), in Javascript with HTML. The information above is just helpful information.
Overview and General Notes Let's explore jQuery event triggers. The cap'n and his carefully chosen mates have returned to the ship with their loot. I hope the cannons are loaded because they are being chased by angry townspeople! When the cap'n gives the command, get ready to fire an event! You want your jQuery selected trigger to fire based on some event. In this case, the event is the captain's order to fire upon the angry townspeople There are various categories of event triggers, including Document, Window, Mouse, and Keyboard. So, choose a trigger to represent the captain's order. Some of the more useful triggers include Fires when the Document Object Model has been rendered Document S(document).ready Fires when all the page assets have been loaded (including any images) Window S(window).load Fires when browser window closes, or when user navigates to new page via link or url bar Note: you will see significant differences in browser operation. Chrome support appears to be weakest. You will have to have multiple tabs open in IE/Mozilla to test closing the window, then leaving the site for a link traversal seems to work in IE and Mozilla S(window).unload S(window).resize S(window).scroll keydown keypress keyup click dblclick mousedown mouseup mouseenter mouseleave ires if the user resizes the browser window Fires when the user scrolls Kevboard Triggers when a key is first depressed Triggers when a kev is pressed one or many times Triggers when a key goes back up after being depressed Fires when the mouse is pressed and released Fires when the mouse is double-clicked Fires when the mouse button is pressed Fires when the mouse button is released Fires when the mouse enters the designated element Fires when the mouse leaves the designated element Mouse Fires when the mouse moves inside the designated element mousemove Fires when the mouse leaves the designated element (and its parent) mouseout Fires when the mouse enters the designated element (or ts parent mouseoverStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started