天天看點

滑鼠獲得焦點、移開, 改變背景色,滑鼠形狀 ,單擊連結到其他頁面

1.滑鼠獲得焦點、移開, 改變背景色,滑鼠形狀 ,單擊連結到其他頁面

<tr οnmοuseοver="this.bgColor='#FFFFFF'" οnmοuseοut="this.bgColor='#EEFAFF'" bgcolor="#EEFAFF" style='cursor:hand'

               οnclick="window.location='xxx.htm;">

2. 單價傳回按鈕傳回到上一頁

<input type="button" value="返 回" class="buttonbg"

        onClick="history.back()" style="width: 72px; height: 26px">

3.單擊打開某個頁面

<p οnclick="window.location='../index.html'"   align="right">

4.在整個頁面中打開新的頁面,而不是在frame中打開

<a href="../index.html" target="_blank" rel="external nofollow" target="_top">

5.div絕對定位

<div id="div0" style="position:absolute;left:0px;top:450px;border:1px solid #ccc;      
width:100px;height:100px;">      

繼續閱讀