<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style type="text/css">*{margin:0 auto;}.aa{ width:102px; height:48px; margin-top:20px; font-size:14px; line-height:48px; text-align: center; border:1px solid #0F6; position: relative; }.aa ul { position: absolute; width:102px; margin:10px; }</style><script sype="text/javascript"><!--var li=document.getElementsByName("li");-->function down(){ document.getElementById("pull_1").style.display = "none"; document.getElementById("pull_2").style.display = "none"; document.getElementById("pull_3").style.display = "none"; } function pull(appearList){ down(); }function aa(){ /*alert('aa');*/ document.getElementById("pull_1").style.display = "block"; document.getElementById("pull_2").style.display = "block"; document.getElementById("pull_3").style.display = "block"; } function pull(appearList){ /* alery('aa');*/ aa(); } </script></head><body><div onmouseover="aa()" onmouseout="down()" class="aa">首页<ul ><li id="pull_1" style="display:none" >sdjkhcld</li><li id="pull_2" style="display:none">dcnld c</li><li id="pull_3" style="display:none" >dshc;lsc</li></ul></div></body></html>
1 回答
- 1 回答
- 0 关注
- 1110 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消