Author Question: What does the srcElement event property contain? (a) A reference to the source code of an ... (Read 14 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 word drug comes from the Dutch word droog (meaning "dry"). For centuries, most drugs came from dried plants, hence the name.

Did you know?

The top 10 most important tips that will help you grow old gracefully include (1) quit smoking, (2) keep your weight down, (3) take supplements, (4) skip a meal each day or fast 1 day per week, (5) get a pet, (6) get medical help for chronic pain, (7) walk regularly, (8) reduce arguments, (9) put live plants in your living space, and (10) do some weight training.

Did you know?

Amphetamine poisoning can cause intravascular coagulation, circulatory collapse, rhabdomyolysis, ischemic colitis, acute psychosis, hyperthermia, respiratory distress syndrome, and pericarditis.

Did you know?

An identified risk factor for osteoporosis is the intake of excessive amounts of vitamin A. Dietary intake of approximately double the recommended daily amount of vitamin A, by women, has been shown to reduce bone mineral density and increase the chances for hip fractures compared with women who consumed the recommended daily amount (or less) of vitamin A.

Did you know?

Signs and symptoms that may signify an eye tumor include general blurred vision, bulging eye(s), double vision, a sensation of a foreign body in the eye(s), iris defects, limited ability to move the eyelid(s), limited ability to move the eye(s), pain or discomfort in or around the eyes or eyelids, red or pink eyes, white or cloud spots on the eye(s), colored spots on the eyelid(s), swelling around the eyes, swollen eyelid(s), and general vision loss.

For a complete list of videos, visit our video library