| Cues | Notes |
|---|---|
Summary
| // code taken from https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest | |
| function reqListener () { | |
| console.log(this.responseText); | |
| } | |
| var oReq = new XMLHttpRequest(); | |
| oReq.addEventListener("load", reqListener); | |
| oReq.open("GET", "http://www.example.org/example.txt"); | |
| oReq.send(); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title></title> | |
| </head> | |
| <body> | |
| .fade { | |
| animation: fade 2s ease-in infinite; | |
| } | |
| @keyframes fade { | |
| 0% { | |
| opacity: 0; | |
| } | |
| 25% { | |
| opacity: 0.5; |
| Cues | Notes |
|---|---|
Summary