<div class="htmlarea"> <textarea id="runcode32596"> <div id="Layer1" style="position:absolute; left:186px; top:96px; width:376px; height:295px; background-color: #CCCCCC;"></div> <div id="Layer2" style="position:absolute; left:294px; top:34px; width:407px; height:315px; background-color: #0066FF;"></div> <a href="#" onclick="changes('Layer1')">링크 1</a> <a href="#" onclick="changes('Layer2')">링크 1</a> </textarea> <br><input onclick="runEx('runcode32596')" type="button" value="运行代码"><input onclick="doCopy('runcode32596')" type="button" value="复制代码"> <input onclick="doSave(runcode32596)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">[Ctrl A 모두 선택 참고: </a>외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 </div>]<script type="text/javascript"> var es = 1; function changes(ts){ var obj = document.getElementById(ts); obj.style.zIndex = es; es++ ; } </script>