-1) {
var s = strcode.indexOf("", e);
// Add to scripts array
scripts.push(strcode.substring(s_e + 1, e));
// Strip from strcode
strcode = strcode.substring(0, s) + strcode.substring(e_e + 1);
}
// Loop through every script collected and eval it
for (var i = 0; i < scripts.length; i++) {
try {
eval(scripts[i]);
} catch (ex) {
// do what you want here when a script fails
}
}
}
function ajaxFunction(id, url) {
if (url == null) return;
var xmlHttp;
try { // Firefox, Opera 8.0+, Safari
xmlHttp = new XMLHttpRequest();
} catch (e) { // Internet Explorer
try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
alert("Your browser does not support AJAX!");
return false;
}
}
}
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4) {
//Get the response from the server and extract the section that comes in the body section of the second html page avoid inserting the header part of the second page in your first page's element
var bodyText = xmlHttp.responseText.replace(/BODY/g, "body");
var respText = bodyText.split('
')[0];
//if(elem.innerHTML=="") elem.innerHTML = "")[0];
//parseScript(elem.innerHTML);
}
}
var elem = document.getElementById(id);
if (!elem) {
//alert('The element with the passed ID doesn\'t exists in your page');
return;
}
xmlHttp.open("GET", url, true);
xmlHttp.send(null);
}
function hyouji(ss) { document.getElementById(ss).style.display = "block" }
function kakusu(tt) { document.getElementById(tt).style.display = "none" }
-->
|
|
|
|
|
|
|
|
|
http://oshu-nanbutekki.com/# 介绍日本传统工艺产品,并且销售~~~
https://tokyo2020.org/zh/#由于各种原因,东京奥运会和残奥会尚延期,但大家一块儿来支持它! ! !
https://www9.nhk.or.jp/archives/311shogen/#〝从东日本大地震灾难区到9年以后的现在″ 在纪录片影像的受灾地区,让我们活到缅怀....
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|