改改名
天下事有难易乎?为之,则难者亦易矣;不为,则易者亦难矣。

鼠标形状

  • 空间


鼠标形状,今天突然想到老早以前的QQ空间用得一些花里胡哨的鼠标挂件什么的。主要吧,起因是因为百度空间也改版了,导致我家的绿球没了 我表示很悲痛,不过我相信经过测试后,百度应该还会把绿球还给我的。各种鼠标形状。那种挂件的使用图片,动态的就使用gif的。不知道能不能使用flash插入后做挂件。理论上应该可以的。

源码:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ />
<title>Untitled Document</title>
<style type=”text/css”>
<!–
span {display:block;line-height:30px;margin:5px 0;background:#f0f0f0;text-align:center;}
–>
</style>

</head>
<script type=”text/javascript”>
document.onmousemove=function(e){
var e=e?e:window.event;
var posx=e.clientX;
var posy=e.clientY;
document.images[0].style.left=posx+”px”;
document.images[0].style.top=posy+”px”;
}
</script>
<body>
<img src=”image/ProfileIconDouban.png” style=”position:absolute;z-index:10000;margin-left:20px;”>
<div style=” background:#000; width:100%; height:100%; display:block”><br />
<br />
<br />
<br />
nihao
<span style=”cursor:pointer;”>pointer 手型</span>
<span style=”cursor:crosshair;”>crosshair 十字</span>
<span style=”cursor:text;”>text 文本</span>
<span style=”cursor:wait;”>wait 等待</span>
<span style=”cursor:help;”>help 问号</span>
<span style=”cursor:e-resize;”>e-resize 右的箭头</span>
<span style=”cursor:ne-resize;”>ne-resize 右上的箭头</span>
<span style=”cursor:n-resize;”>n-resize 上的箭头</span>
<span style=”cursor:nw-resize;”>nw-resize 左上的箭头</span>
<span style=”cursor:w-resize;”>w-resize 左的箭头</span>
<span style=”cursor:sw-resize;”>sw-resize 左下的箭头</span>
<span style=”cursor:s-resize;”>s-resize 下的箭头</span>
<span style=”cursor:se-resize;”>se-resize 右下的箭头</span>
<span style=”cursor:move;”>move 移动</span></div>
</body>
</html>

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注