Author Question: What does the srcElement event property contain? (a) A reference to the source code of an ... (Read 19 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?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

Did you know?

Patients should never assume they are being given the appropriate drugs. They should make sure they know which drugs are being prescribed, and always double-check that the drugs received match the prescription.

Did you know?

Chronic marijuana use can damage the white blood cells and reduce the immune system's ability to respond to disease by as much as 40%. Without a strong immune system, the body is vulnerable to all kinds of degenerative and infectious diseases.

Did you know?

Normal urine is sterile. It contains fluids, salts, and waste products. It is free of bacteria, viruses, and fungi.

Did you know?

There used to be a metric calendar, as well as metric clocks. The metric calendar, or "French Republican Calendar" divided the year into 12 months, but each month was divided into three 10-day weeks. Each day had 10 decimal hours. Each hour had 100 decimal minutes. Due to lack of popularity, the metric clocks and calendars were ended in 1795, three years after they had been first marketed.

For a complete list of videos, visit our video library