This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
void main(int argc[], char *argv[]){ | |
printf("Hello World!\n"); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
void main(int argc[], char *argv[]){ | |
printf("Hello World!\n"); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
へてむる <html></html> 記号 | |
へっど <head></head> 記号 | |
ぼでぃ <body></body> 記号 | |
みだし <h1></h1> 記号 | |
みだし <h2></h2> 記号 | |
みだし <h3></h3> 記号 | |
みだし <h4></h4> 記号 | |
みだし <h5></h5> 記号 | |
みだし <h6></h6> 記号 | |
だんらく <p></p> 記号 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>スタイルシートそのものを変更する</title> | |
<style> | |
<link rel="stylesheet" type="text/css" href="style-a.css" id="style-a" disabled="true"> | |
<link rel="stylesheet" type="text/css" href="style-b.css" id="style-b" disabled="true"> | |
#foo { | |
background-color: #999; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>クリックした位置に要素を表示する</title> | |
</head> | |
<body> | |
<div id="foo" style="width: 2000px; height: 2000px; position: relative;"> | |
<div id="message" style="position: absolute; background: lightgray; width: 100px;">Hello, World!</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>アニメーション</title> | |
</head> | |
<body> | |
<div id="foo" style="position: absolute">This is sample.</div> | |
<script> | |
var elem = document.getElementById('foo'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML5> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div>This is test for XMLHttpRequest with X-Browser. The page does not have any function.</div> | |
<script> | |
if(!window.XMLHttpRequest) { | |
// Internet Explorer 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML5> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div>This is test for XMLHttpRequest.</div> | |
<script> | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', 'http://suneo3476.net'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML5> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div>This is test for XMLHttpRequest.</div> | |
<script> | |
var xhr = XMLHttpRequest(); | |
xhr.open('GET', 'http://suneo3476.net', false); // 第三引数にfalseを指定して同期通信する |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var xhr = new XMLHttpRequest(); | |
var timerId = window.setTimeout(function() { | |
xhr.abort(); | |
}, 5000); // 5秒 | |
xhr.onreadystatechange = function() { | |
if (request.readyState == 4) { | |
// タイムアウト処理をキャンセルする | |
window.clearTimeout(timerId); | |
} |
OlderNewer