網頁框架代碼<iframe border=0 name=lantk src="要嵌入的網頁地址" width=400 height=400 allowTransparency scrollbars=yes frameBorder="0"></iframe>
特點是無論使用何種分辨率,它的大小和位置都是不變的。
我所收集的:
1.
<frameset border="0" cols="0,*" frameborder="0" framespacing="0" onload="init()" onhelp="noHelp()" onkeydown="noEffect()" ondragstart="noEffect()" oncontextmenu="noContext()">
<frame name="oPlus" src="" noresize>
<frame name="oMain" src="http://lovelucking.onlybeloved.com" frameborder="0" noresize scrolling="auto">
</frameset>
2.右邊框架 <frameset cols="*,150" frameborder="0" border="0" framespacing="0">
<frame src="http://lovelucking.onlybeloved.com" name="mm" frameborder="0">
<frame src="http://右邊網址.com" name="rightFrame" frameborder="0" scrolling="NO" noresize>
</frameset>
3.上下框架 <frameset rows="28,*" frameborder="NO" border="0" framespacing="0">
<frame src="http://上部網址/index.htm" name="dj-play" scrolling="no" noresize >
<frame src="http://lovelucking.onlybeloved.com" name="mainFrame" scrolling="auto">
</frameset>
4.網頁內嵌框架 <IFRAME align=middle marginWidth=0 vspace=-0 marginHeight=0 src="http://lovelucking.onlybeloved.com" frameBorder=no width=400 scrolling=auto height=300></IFRAME>
~~~~~
也可以自己修在框架大小:
<table width="寬大小" height="高大小">
<TD align=middle width=寬大小 height=高的大小><IFRAME name=sucai1
marginWidth=0 frameSpacing=0 marginHeight=0
src="所要放的網頁的地址" frameBorder=0 width=400
height=380></TD>
</table>
</IFRAME>
在當前網頁中包含另一個網頁:
<iframe src=另一個網頁地址></iframe>
9、網頁打開后,隔一定時間自動刷新:
<META HTTP-EQUIV="refresh" CONTENT="時間間隔秒">
10、網頁打開后,隔一定時間自動跳轉到另一頁: <meta http-equiv="Refresh" content="時間間隔秒; url=另一個網頁地址">
兩個域名同一個空間自動跳轉的ASP代碼