您的位置:首页 > 其它

鼠标获得焦点、移开, 改变背景色,鼠标形状 ,单击链接到其他页面

2009-10-04 21:48 288 查看
1.鼠标获得焦点、移开, 改变背景色,鼠标形状 ,单击链接到其他页面
<tr onmouseover="this.bgColor='#FFFFFF'" onmouseout="this.bgColor='#EEFAFF'" bgcolor="#EEFAFF" style='cursor:hand'
onclick="window.location='xxx.htm;">
2. 单价返回按钮返回到上一页
<input type="button" value="返 回" class="buttonbg"
onClick="history.back()" style="width: 72px; height: 26px">
 
3.单击打开某个页面
<p onclick="window.location='../index.html'" align="right">
4.在整个页面中打开新的页面,而不是在frame中打开
<a href="../index.html" target="_top">
5.div绝对定位
<div id="div0" style="position:absolute;left:0px;top:450px;border:1px solid #ccc;

width:100px;height:100px;">
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: