15.22 带关闭的对联广告.htm

来自「一些javascript的小例子希望对初学者有更好的帮助」· HTM 代码 · 共 28 行

HTM
28
字号
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>标题页</title>
</head>
<body>

<DIV id=ad_dl01 
style="Z-INDEX: 1; LEFT: 5px; VISIBILITY: visible; WIDTH: 100px; POSITION: absolute; TOP: 55px">
<TABLE cellSpacing=0 cellPadding=0 width=100 border=0>
  <TBODY>
 <TR>
    <TD align=left><A onClick="ad_dl01.style.visibility='hidden'">关闭</A></TD></TR>
    <TR>
    <TD><img src="http://images.sohu.com/cs/music/070330_120-120.gif" width="100" height="267" border="0" />
 </TD></TR></TBODY></TABLE></DIV>

<DIV id=ad_dl02 
style="Z-INDEX: 1; RIGHT: 5px; VISIBILITY: visible; WIDTH: 100px; POSITION: absolute; TOP: 55px">
<TABLE cellSpacing=0 cellPadding=0 width=100 border=0>
  <TBODY>
  <TR>
    <TD align=left><A onClick="ad_dl02.style.visibility='hidden'">关闭</A></TD></TR>
  <TR>
    <TD><img src="http://images.sohu.com/cs/music/070330_120-120.gif" width="100" height="267" border="0" />
    </TD></TR></TBODY></TABLE></DIV>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?