社区
JavaScript
帖子详情
怎么样在文字连接上显示图片,在线等待!!!100分求解
17skyo
2002-12-03 12:58:00
我想在文字连接上,鼠标移上去,显示图片
显示文字,我知道用title=""能实现,显示图片怎么做
请问怎么做
...全文
117
4
打赏
收藏
怎么样在文字连接上显示图片,在线等待!!!100分求解
我想在文字连接上,鼠标移上去,显示图片 显示文字,我知道用title=""能实现,显示图片怎么做 请问怎么做
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
17skyo
2002-12-03
打赏
举报
回复
知道ichat聊天室吗,
他的名单里,有鼠标移动上去,就能显示图片,但是好象不是用层的
lbd8848
2002-12-03
打赏
举报
回复
那只能用层,做一个虚拟的
meizz
2002-12-03
打赏
举报
回复
<html><head><title>层与按钮对齐</title></head><body>
<div align=left><table border=1>
<tr><td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td></tr>
<tr><td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td></tr>
<tr><td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td>
<td align=center height=50 width=200>
<input type=button value=ok onmouseover="cc(this)" onmouseout="document.all.pop.style.display='none'"></td></tr>
</table><div>
<div id=pop style="position:absolute;width:100;height:50;z-index:99;display:none">
<table border=0><tr><td align=center>
<img src=http://expert.csdn.net/images/csdn.gif border=0></td></tr></table></div>
<script language=javascript>
function cc(tt)
{
var daps = document.all.pop.style;
var ttop = tt.offsetTop; //TT控件的定位点高
var thei = tt.clientHeight; //TT控件本身的高
var tleft = tt.offsetLeft; //TT控件的定位点宽
var ttyp = tt.type; //TT控件的类型
while (tt = tt.offsetParent){ttop+=tt.offsetTop; tleft+=tt.offsetLeft;}
daps.top = (ttyp=="image")? ttop+thei : ttop+thei+6; //层的 Y 坐标
daps.left = tleft + 1; //层的 X 坐标
daps.display = ""; //层显示
}
</script>
</body></html>
qiushuiwuhen
2002-12-03
打赏
举报
回复
搜索tooltip,基本上都是用div模拟的
约瑟夫环问题源代码(C语言).doc
约瑟夫环问题是一个著名的数学问题,它描述了这样一个场景:n个人围成一圈,从某个人开始数数,数到m的人出圈,下一个人从1开始继续数,数到m的人再次出圈,如此循环直到所有人都出圈。问题的目的是找出出圈的顺序和...
24、
分
布式业务应用中的共享 SAT
求解
器与 SAT 内存
本文介绍了在
分
布式业务应用中实现共享 SAT
求解
器与 SAT 内存的架构与方法。通过将 SAT
求解
器和 SAT 内存作为虚拟 Web I/O 设备集成,系统能够在高并发场景下高效地
求解
计算密集型的 SAT 问题。文章详细描述了
求解
...
无需代码!STEP3-VL-10B WebUI使用指南:
图片
理解与
文字
提取一步到位
本文介绍了如何在星图GPU平台上自动化部署STEP3-VL-10B多模态视觉语言模型(阶跃星辰),并利用其WebUI界面实现零代码的
图片
内容理解与
文字
提取。该模型能够智能
分
析
图片
,例如快速提取文档表格数据或描述复杂图表,...
基于LabVIEW的二元二次方程
求解
程序设计与实现
在LabVIEW中,主VI与子VI之间通过端子板(Terminal Panel)建立数据
连接
。端子板相当于函数的参数列表,决定了哪些数据可以从外部传入,哪些结果可以返回给调用者。正确配置端子板是确保子VI正常工作的前提。创建子...
38、便携式精密椭偏仪与现代 SAT
求解
器的创新突破
同时,新型SAT
求解
器通过创新的问题
分
解策略和t-BFD、c-BFD知识共享机制,在处理复杂布尔可满足性问题时展现出优于传统
求解
器的性能,尤其在UNSAT实例中表现突出。两者
分
别在精密测量与计算逻辑领域推动了技术进步,...
JavaScript
87,994
社区成员
224,689
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章