我要制作网页,具体效果如下!
- 提问者网友:棒棒糖
- 2021-06-06 21:03
- 五星知识达人网友:千夜
- 2021-06-06 21:44
- 1楼网友:雪起风沙痕
- 2021-06-07 00:49
- 2楼网友:鱼忧
- 2021-06-06 23:14
您说的是背投广告吧。给你两个背投代码:
<div align="center" id="miman"> <table width="760" border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="#" target="_blank"><img src="760480.jpg" width="760" height="480" border="0"></a></td> </tr> </table> </div>
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>定时关闭的背投广告代码</title> <script language="JavaScript"> var time_out = 3000; function log_start() { window.miman.style.visibility="visible"; window.setTimeout( "real_log_start()", time_out ); return false; } function real_log_start() { window.miman.style.display="none"; } </script>
</head>
<body onLoad="log_start()"> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> <p>6</p> <p>7</p> <p>8</p> <p>9</p> <p>10</p> <p>11</p> <p>12</p> <p>13</p> <p>14</p> <p>15</p> <p>16</p> <p>17</p> </body> </html>
附加:
代码一
功能:显示与显示器分辨率一样大小的背投广告
//ShowFullPopWin(); function ShowFullPopWin() { var advPage = " http://www.yaosansi.com/ad.htm"; var oPopWin = window.open(advPage, "FullPopWin", "width="+window.screen.availWidth+",height="+window.screen.availHeight); self.focus(); }
代码二
功能:显示固定大小的背投广告。
<script language="javascript" > showfullpopwin(); function showfullpopwin() { var advpage = "/ad/ad/ad.html"; var opopwin = window.open(advpage, "fullpopwin", "width=200,height=100"); self.focus(); } </script>
代码三
<SCRIPT language=JavaScript1.2> function openWindowBack() { var popUpWin2 = open(" http://www.qq.com/qq.swf", "popUpWin2", "width=1,height=1,top=4000,left=3000"); } try{ aryADSeq.push("openWindowBack()"); }catch(e){ openWindowBack(); } </SCRIPT>