小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

jsview

 panos_liu 2007-01-31
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transition
al.dtd">
<html xmlns="http://www./1999/xhtml"><head>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>JSOV - JavaScript Object Viewer</title>

<meta name="robots" content="follow,index">
<style type="text/css">
body {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    }
div {
    display: inline;
}
a,a:link,a:hover {
    text-decoration: none;
    color:blue;
}
.o_prop_name {
    font-weight: bold;
    color: blue;
    font-size: 14px;
}
.o_prop_value {
    font-weight: bold;
    color: green;
}
</style>

<script language="javascript" type="text/javascript">
/*
    appName: JSOV 1.0 beta
    Author: Billy Chow
    E-mail: billychow#tom.com
    Edited: 6:54 PM, 7/6/2006
*/

function showObj() {
    var obj = eval(document.getElementById("txtObj").value);
    var str = ‘<div class="formated">‘;
    for (prop in obj) {
        str += ‘<div class="o_prop_name"><a href="#" title="next" onClick="changeObj(this.innerHTML)">‘+prop+ ‘</
a></div> = <div class="o_prop_value">‘ +obj[prop]+ ‘</div><br />‘;
    }
    str += ‘</div>‘;
    document.getElementById("txt3").innerHTML = str;
}
function changeObj(txt) {
    document.getElementById("txtObj").value += ‘.‘+txt;
    showObj();
}
function eraser() {
    var tmpstr = document.getElementById("txtObj").value;
    tmpstr=tmpstr.replace(/\.\w*$/ig,"");
    document.getElementById("txtObj").value=tmpstr;
    showObj();
}
function dispVal() {
    alert(eval(document.getElementById("txtObj").value));
}
</script></head><body>
<h1>JavaScript Object Viewer 1.0 beta</h1>
<div id="txt1">
Input your object name here:
<input id="txtObj" value="window" onkeydown="" type="text">  
<input id="btnSubmit" value="View" onclick="showObj();" type="button">  
<input id="btnBack" value="Back" onclick="eraser();" type="button">  
<input id="btnDisp" value="DispVal" onclick="dispVal();" type="button">

</div>
<br>
<div id="txt2">The Object has these attributes:</div>
<hr noshade="noshade">
<div id="txt3">
</div>
</body></html>

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約