首頁掛件代碼
左側(cè)代碼:
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT: _r(eval_r(document.body.scrollLeft)+eval_r(document.body.clientWidth)-970); BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; POSITION: absolute; ; TOP: _r(eval_r(document.body.scrollTop)+eval_r(document.body.clientHeight)-500); TEXT-ALIGN: center"><IMG src="圖片網(wǎng)址" border=0></DIV>
右側(cè)代碼:
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT: _r(eval_r(document.body.scrollLeft)+eval_r(document.body.clientWidth)-110); BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; POSITION: absolute; ; TOP: _r(eval_r(document.body.scrollTop)+eval_r(document.body.clientHeight)-500); TEXT-ALIGN: center"><IMG src="圖片網(wǎng)址" border=0></DIV>
代碼說明:
1、clientWidth后面負(fù)數(shù)的絕對值越大,圖片越靠近左側(cè);
2、clientHeight后面負(fù)數(shù)的絕對值越大,圖片越靠近上部;
轉(zhuǎn)自
http://blog.sina.com.cn/m/julia#sort_5
友情提示:為了讓其他網(wǎng)友快速進(jìn)入你的網(wǎng)頁,盡量不要使用FLSAH透明特效