A. 鼠标放在图片在上出现文字提示
首先用到Dreamweaver,随便先插入一图片然后选中,在下方会有属性,在属性中找到“替换”,在替换后面的框中填入这个图片的说明或是名字等等....
最后保存预览就会有这种效果
B. 在PPT中,如何使鼠标移动到字或图片上,字或图片就出现
1、首先打开电脑点击PPT,在点击导入图片,给图片对象设置一个自定义动画。
C. 鼠标点击图片后能够显示出文字的网页代码
只要单击图片,就会弹出一个对话框,在对话框中显示你要显示的文字
<html>
<head>
<script
language="vbscript">
<!--
sub
yt_onclick
msgbox"你好"
end
sub
sub
ty_onclick
msgbox"hello"
end
sub
-->
</script>
</head>
<body>
<a
href=#
name=ty><img
src="你要显示的图片"></a>
</body>
</html>
D. 如何做到在Dreamweaver 鼠标指向图像时显示文字
在Dreamweaver网页设计中常常会需要设计鼠标指向图片时显示文字,具体操作步骤如下:
1、启动Dreamweaver cs4,点击“插入”中的“图像”,如图:
E. 网页怎么做鼠标移到图片就显示文字
<!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=utf-8" />
<title>鼠标移到图片上显示文字效果</title>
<style>
.bot .sendList {
margin-right:6px
}
.explore {
width:936px;
margin:20px auto 0;
overflow:hidden;
position:relative;
font-size:0px;
}
.explore li {
width:160px;
height:150px;
overflow:hidden;
display:inline-block;
position:relative;
}
.explore li {
*display:inline;
}
.explore li .wqPic {
width:160px;
height:150px;
overflow:hidden;
}
.explore .wqLink {
display:block;
width:160px;
height:150px;
color:#FFF;
text-align:center;
font-family:"微软雅黑"
}
.explore .wqItem .wqName {
position:absolute;
bottom:0;
left:0;
width:130px;
height:40px;
line-height:40px;
font-size:16px;
overflow:hidden;
padding:0 10px;
}
.explore .wqItem .bg {
background:#333;
opacity:0.8;
filter:alpha(opacity = 80);
position:absolute;
bottom:0;
left:0;
width:150px;
height:40px;
}
.explore .wqLink:hover {
cursor:pointer;
text-decoration:none;
}
.explore .wqLink:hover .wqItem .bg {
height:150px;
}
.explore .wqLink:hover .wqItem .wqName, .explore .detail {
visibility:hidden;
}
.explore .wqLink:hover .detail {
visibility:visible;
}
.explore .detail {
background:#000;
position:absolute;
top:128px;
left:0;
width:160px;
line-height:22px;
height:22px;
font-size:12px;
filter:alpha(opacity = 65);
}
.explore .detail .wqName {
font-size:16px;
padding:0 10px;
line-height:22px;
}
.explore .detail .info {
margin-top:10px;
}
</style>
</head>
<body>
<div id="topWrap">
<div class="wqSquare">
<div class="explore">
<ul>
<li> <a onmousedown="MI.Bos('wQBtnBigImgQun')" href="#" class="wqLink">
<div class="wqItem"> <img src="/img/2.jpg" class="wqPic" /> </div>
<div class="detail">
<div class="wqName">Boaer.com</div>
</div>
</a> </li>
</ul>
</div>
</div>
</div>
</body>
</html>
F. 如何在图片上制作鼠标滑过显示文字的效果
<title>鼠标经过效果</title>
</head>
<body>
<style type="text/css">
.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 1px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 55px; /*position where enlarged image should offset horizontally */
}
</style>
<a class="thumbnail" href=链接>文字在这呢 <span><img src="图片地址" alt="图片在这" width="110" border="0"></span></a>
</body>
</html>
这个是鼠标经过文字,出现图片,不过效果是一样的,只要你把图片和文字的位置交换一下就okl了
G. ppt中怎么实现鼠标停在图片上显示文字
使用触发器可以实现这个功能,属于PPT中的动画效果的一种。
首先把你的文字和图片都放到幻灯片上,单击你的图片,在插入中可以找到有触发器的功能卡,按照里面的提示,可以选择你的触发对象,你的触发对象就是你要显示的动画。可以设置是不是鼠标悬停等各种选相。我就不一一的说了,太多了。
H. HTML 鼠标放在图片上,图片变成文字的效果怎么达到。
鼠标的移入移出事件,可以参考下手册,思路就是
1, 你给每个图片都有一个特殊的id标示,然后隐藏的div[就是文字显示的]id可以为"img_"+图片的id
2 移入时 隐藏id图片 显示"img_"+图片的id的div文字
3移出时 就是反过来的移入
I. css如何实现鼠标移至图片上显示遮罩层及文字
1.首先看看HTML、一个img图像控件和一个带掩码样式的div,其中包含文本。这是蒙版层。