AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Microsoft- 70-480





Question ID 14847

You are developing a web application that consumes services from a third-party
application. A web worker processes the third-party application requests in the background.
A page in the application instantiates the web worker process.
You need to establish two-way communications between the web worker process and the
page.
Which two actions will achieve this goal? (Each correct answer presents a complete
solution. Choose two.)

Option A

From the web worker, use the onconnect event handler of the main page to capture events.

Option B

From the main page, use the onmessage event handler of the web worker to capture events.

Option C

From the web worker, use the onmessage event handler of the main page to capture events.

Option D

 From the main page, use the onconnect event handler of the web worker to capture events.

 

Correct Answer B,C
Explanation Explanation: * When postMessage() is called from the main page, our worker handles that message by defining an onmessage handler for the message event. * Server-Sent Events - One Way Messaging A server-sent event is when a web page automatically gets updates from a server. Receive Server-Sent Event Notifications The EventSource object is used to receive server-sent event notifications: Example var source = new EventSource("demo_sse.php"); source.onmessage = function(event) { document.getElementById("result").innerHTML += event.data + "
"; }; Reference: http://www.w3schools.com/html/html5_serversentevents.asp http://www.html5rocks.com/en/tutorials/workers/basics/


Question ID 14848

You are developing an HTML5 page. The page includes the following code.

The inner paragraph must be exactly 15 pixels from the top left corner of the outer
paragraph. You set the left style for the inner paragraph to the appropriate value.
You need to set the position property of the inner paragraph.
Which value should you use?

Option A

absolute

Option B

static

Option C

fixed

Option D

 relative

Correct Answer A
Explanation Explanation: absolute: The element is positioned relative to its first positioned (not static) ancestor element. Incorrect: Not D: relative: The element is positioned relative to its normal position, so "left:20" adds 20 pixels to the element's LEFT position. Reference: CSS position Property http://www.w3schools.com/cssref/pr_class_position.asp

Send email to admin@getfreedumps for new dumps request!!!