DIV的显示/隐藏、定位、CSS半透明
解决方案 »
- 俺样来啦!发布5年原创绿游,神说2013-生命(神魔对决最新版),高压200M预备笑纳
- 地图上只显示一个不能点击的坐标点
- 菜鸟入门问题:为什么我这样写会没有反应呢
- 问个怪怪的问题,javascript
- 在ff下,onmousedown和ondblclick同时使用,ondblclick无效??
- 动态js脚本加载问题
- javascript的 FileSystemObject问题请教
- 如何用javascript来检测机器上是否安装word2000?请给点代码提示,先谢谢了
- 又是动态表格的问题
- 请问:如何在一个表的第9行拷拷贝,并加在第5行与第6行之间
- 简单问题
- 实例化一个函数的两种方法的区别????
<style type="text/css">
<!--
.a{
background:#ffffff;
filter: Alpha(opacity=50);
width:200px;
height:230px;
position:absolute;
border-right:1px solid #0066FF;
border-bottom:1px solid #0066FF;
border-top:1px solid #0066FF;
border-left:1px solid #0066FF;}
.a1
{
height:200px;}
.a2
{
background:#0066FF;
filter: Alpha(opacity=80);
height:30px;}
-->
</style><script>
function a()
{
document.getElementById("f").style.display=""
document.getElementById("f").style.left=event.clientX+8
document.getElementById("f").style.top=event.clientY+18
}
function b()
{
document.getElementById("f").style.display="none"
document.getElementById("e").border="0"}</script>
<body>
<img style="cursor:hand;" id="e" src="http://mat1.qq.com/ent/upday2008/06184.jpg" width="328" height="240" border="0" onMouseMove="a()" onmouseout="b()"/>
<div id="f" class="a">
<div id="f1" class="a1"></div>
<div id="f2" class="a2"></div>
</div>
</body>