beautify html
This commit is contained in:
parent
ecf1478e7e
commit
5342f628da
354 changed files with 13965 additions and 9486 deletions
|
@ -1,29 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="activex.js"></script>
|
||||
<script src="activex.js"></script>
|
||||
|
||||
<script>
|
||||
function ok(result) {
|
||||
alert('result: ' + result);
|
||||
}
|
||||
function fail() {
|
||||
alert('fail');
|
||||
}
|
||||
<script>
|
||||
function ok(result) {
|
||||
alert('result: ' + result);
|
||||
}
|
||||
|
||||
function go() {
|
||||
if (!("ActiveXObject" in window)) {
|
||||
alert("Только Internet Explorer");
|
||||
return;
|
||||
}
|
||||
iframeActiveXGet("server", ok, fail);
|
||||
}
|
||||
</script>
|
||||
function fail() {
|
||||
alert('fail');
|
||||
}
|
||||
|
||||
function go() {
|
||||
if (!("ActiveXObject" in window)) {
|
||||
alert("Только Internet Explorer");
|
||||
return;
|
||||
}
|
||||
iframeActiveXGet("server", ok, fail);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<button onclick="go()">iframeActiveXGet server date</button>
|
||||
<button onclick="go()">iframeActiveXGet server date</button>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
|
@ -1,27 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="iframeComet.js"></script>
|
||||
<script src="iframeComet.js"></script>
|
||||
|
||||
<button onclick="go()">IframeComet.open("comet");</button>
|
||||
<button onclick="go()">IframeComet.open("comet");</button>
|
||||
|
||||
|
||||
<div id="showElem"></div>
|
||||
<div id="showElem"></div>
|
||||
|
||||
<script>
|
||||
<script>
|
||||
IframeComet.onMessage = IframeComet.onError = show;
|
||||
|
||||
IframeComet.onMessage = IframeComet.onError = show;
|
||||
function show(msg) {
|
||||
showElem.innerHTML = msg;
|
||||
}
|
||||
|
||||
function show(msg) {
|
||||
showElem.innerHTML = msg;
|
||||
}
|
||||
|
||||
function go() {
|
||||
IframeComet.open("comet");
|
||||
}
|
||||
</script>
|
||||
function go() {
|
||||
IframeComet.open("comet");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
|
@ -1,21 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<script src="iframe.js"></script>
|
||||
<script src="iframe.js"></script>
|
||||
|
||||
<script>
|
||||
function ok(result) {
|
||||
alert('result: ' + result);
|
||||
}
|
||||
function fail() {
|
||||
alert('fail');
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
function ok(result) {
|
||||
alert('result: ' + result);
|
||||
}
|
||||
|
||||
<button onclick="iframeGet('server', ok, fail)">iframeGet server</button>
|
||||
function fail() {
|
||||
alert('fail');
|
||||
}
|
||||
</script>
|
||||
|
||||
<button onclick="iframePost('diff', {clientDate: +new Date}, ok, fail)">iframePost diff</button>
|
||||
<button onclick="iframeGet('server', ok, fail)">iframeGet server</button>
|
||||
|
||||
<button onclick="iframePost('diff', {clientDate: +new Date}, ok, fail)">iframePost diff</button>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue