如何能让我的跟随鼠标的彩色小尾巴有一个随着移动的小尾巴如字花之类

商品名称:
评价得分:
其他谈论话题
多品类齐全,轻松购物
快多仓直发,极速配送
好正品行货,精致服务
省天天低价,畅选无忧你的位置:
大漠找到字后鼠标移动到字的位置,终于弄成功了,发表下,让像我这样的新人少走弯路
13:31:46 |
来源: 按键精灵资源站
本帖最后由 yym200899 于
13:57 编辑
/*对于新手来说要的是复制一段码全盘搞定。
找了很多,文字、都有,但就没一个全的,下面是测试通过的代码(可连中文一起复制):*/
Set dm = createobject(&dm.dmsoft&)//这句是什么意思依然不知,少了它又不能正常工作
dm.setPath &C:\Documents and Settings\xiwang\桌面\3.1233&//字库目录
dm_ret = dm.SetDict(0,&1.txt&)//“1.txt”为字库文件
dm_re = dm.FindStr(0, 0, , &000%&/*前引号里为要找的字*/, &ffffff-000000&, 1.0, intX, intY)//找字过程
If intX &= 0 and intY &= 0 Then
& & dm.MoveTo intX,intY //鼠标移动到字的位置
//这段码是在会做字库的前提下,并且要先注册大漠,我用的大漠版本为3.1233最后一个免费版
//高手看到别喷哈,有更好的拿出来分享喽,并且哪位能解释下第一行的意思吗?1688人阅读
JavaScript(8)
鼠标移动在文字上面,让其显示详细信息
一、文字太多,以省略号结尾
id="p_0" onmouseover="showTooltip(this);" style="overflow: text-overflow: white-space:"&
${checkContentTitle}
二、鼠标移动在文字上面,弹出浮动的div让其显示详细信息
function showTooltip(target) {
document.getElementById(target.id.replace(/^label/,'tooltip')).style.display = 'block';
function hideTooltip(target) {
document.getElementById(target.id.replace(/^label/,'tooltip')).style.display = 'none';
onmouseover='showTooltip(this);' onmouseout='hideTooltip(this);' id='label0'&把鼠标移到我上面看看...&
id='tooltip0' style='display:border:1background-color:color:'&&这是一段文字的详细信息&&
三、完整的JSP代码
&%@ page language="java" contentType="text/ charset=UTF-8" pageEncoding="UTF-8"%&
&%@page import="org.jeecgframework.core.util.ResourceUtil"%&
String mobile_home_url = ResourceUtil.getConfigByName("letv.gcr.mobile.home.url");
function showTooltip(target) {
document.getElementById(target.id.replace(/^p_/,'div_tip_')).style.display = 'block';
document.getElementById("div_title").style.display = 'none';
function hideTooltip(target) {
document.getElementById(target.id.replace(/^p_/,'div_tip_')).style.display = 'none';
document.getElementById("div_title").style.display = 'block';
class="nav"&
class="return"&&
id="div_title" class="headline"&
id="p_0" onmouseover="showTooltip(this);" style="overflow: text-overflow: white-space:"&
${checkContentTitle}
&${checkContentNum}&
id="div_tip_0" style="display:" class="headline"&
id="p_0" onmouseout="hideTooltip(this);"&
${checkContentTitle}
&${checkContentNum}&
class="home"&&
var historyBack = "${historyBack}";
var searchForm = "${SearchForm}"
var returnUrl = "${returnUrl}";
$(".return").on("click",function() {
if(historyBack == "true") {
history.back(-1);
if(searchForm==null||searchForm=="") {
if(returnUrl==null || returnUrl=="") {
location.href=document.
var locationUrl = ROOF.Utils.projectName() + returnU
window.location.href = locationU
if(returnUrl==null || returnUrl=="") {
location.href=document.
$("#"+searchForm).attr("action", ROOF.Utils.projectName() + returnUrl);
$("#"+searchForm).submit();
$(".home").on("click",function() {
var locationUrl = "&%=mobile_home_url%&";
window.location.href = locationU
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:5535次
排名:千里之外
原创:11篇
(2)(2)(1)(5)(9)}

我要回帖

更多关于 js鼠标移动尾巴 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信