DRAG DROP
You develop an HTML5 webpage. You have the following HTML markup:
You need to update the content of the DIV element when the mouse hovers over an image and
when the mouse coordinates change.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. Use only code segments that apply.)
http://javascript.info/tutorial/mouse-events#mousemove-and-mouseover-frequency
http://www.w3schools.com/css/css3_gradients.asp
This is another question that doesn’t seem to make sense (to me).
With box2 set to ‘position:absolute’ (and no position value for box1), the actual positioning of box 2 becomes independant of the positioning of box1 (box2 is removed from ‘normal flow’). Box2 should be set to either ‘position:static’ (the default) or ‘position:relative’…