<!doctype html><html><head><meta charset="UTF-8"><title>Document</title><style type="text/css">*{float: left;margin: 10px}#txse1{width:50px;height: 50px;background:red;}#txse2{width:20;height: 150px;background:blue; } </style> <script type="text/javascript"> window.onload(){ var ob1=document.getElementById("txse1"); var ob=document.getElementById("txse2"); ob1.onmouseover=function() { ob.style.display='block'; } ob1.onmouseout=function() { ob.style.display='none'; } }; </script></head><body><div id="txse1"></div><div id="txse2"style="display:none"></div></body></html>
- 2 回答
- 0 关注
- 1594 浏览
添加回答
举报
0/150
提交
取消