Author Question: What does the srcElement event property contain? (a) A reference to the source code of an ... (Read 18 times)

mcmcdaniel

  • Hero Member
  • *****
  • Posts: 550
What does the srcElement event property contain?
 
  (a) A reference to the source code of an element.
  (b) A reference to the element that fired the event.
  (c) A reference to the source code of an image.
  (d) A reference to the name of the event that fired.

Question 2

If you used the ONMOUSEMOVE event to capture mouse events over an image, which of the following event properties would you use to capture the location of the mouse cursor relative to the image boundaries?
 
  (a) altkey
  (b) clientX / clientY
  (c) screenX / screenY
  (d) offsetX / offsetY



ebe

  • Sr. Member
  • ****
  • Posts: 320
Answer to Question 1

Ans: (b)

Answer to Question 2

Ans: (d)



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

The average human gut is home to perhaps 500 to 1,000 different species of bacteria.

Did you know?

Vaccines prevent between 2.5 and 4 million deaths every year.

Did you know?

Acetaminophen (Tylenol) in overdose can seriously damage the liver. It should never be taken by people who use alcohol heavily; it can result in severe liver damage and even a condition requiring a liver transplant.

Did you know?

There are more bacteria in your mouth than there are people in the world.

Did you know?

Alzheimer's disease affects only about 10% of people older than 65 years of age. Most forms of decreased mental function and dementia are caused by disuse (letting the mind get lazy).

For a complete list of videos, visit our video library