模板:夏目部员数据库:修订间差异
跳到导航
跳到搜索
小无编辑摘要 |
小无编辑摘要 |
||
第14行: | 第14行: | ||
<script src="http://wiki-app.loveliv.es/js/MouseOverEvent.js"></script> | <script src="http://wiki-app.loveliv.es/js/MouseOverEvent.js"></script> | ||
<script src=http://wiki-app.loveliv.es/js/cardList.js></script> | <script src=http://wiki-app.loveliv.es/js/cardList.js></script> | ||
function init(){ | |||
var rawFile = new XMLHttpRequest(); | |||
var allText = ""; | |||
rawFile.open("GET", 'http://llsif.noip.me/DATAfiles/CardDataBase.json', false); | |||
rawFile.onreadystatechange = function (){ | |||
if(rawFile.readyState === 4){ | |||
if(rawFile.status === 200 || rawFile.status == 0){ | |||
allText = rawFile.responseText; | |||
} | |||
} | |||
} | |||
rawFile.send(null); | |||
card = JSON.parse(allText); | |||
Reset() | |||
SelectFromOption() | |||
GenerateTab(currentPage) | |||
} | |||
<style> | <style> | ||
.td{ | .td{ |