Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery Alt文本的强制悬停_Jquery_Html_Hover - Fatal编程技术网

Jquery Alt文本的强制悬停

Jquery Alt文本的强制悬停,jquery,html,hover,Jquery,Html,Hover,我有几十个热点(和 *值得注意的是,人们可以很容易地与布朗芬布伦纳的生态系统理论进行比较,这是一种自然联系,因为他的理论确实为雷吉奥的实践提供了信息(更多信息,请参阅)但是这张图片是专门为这个项目制作的,它属于大急流城儿童发现中心 我没有进入插件,而是从每个区域获取值,并创建一个绝对定位的元素,该元素根据coords中的值定位 jQuery('area').each(function(){ var text = jQuery(this).attr('title'), link = jQu

我有几十个热点(

*值得注意的是,人们可以很容易地与布朗芬布伦纳的生态系统理论进行比较,这是一种自然联系,因为他的理论确实为雷吉奥的实践提供了信息(更多信息,请参阅)但是这张图片是专门为这个项目制作的,它属于大急流城儿童发现中心


我没有进入插件,而是从每个
区域
获取值,并创建一个绝对定位的
元素,该元素根据
coords
中的值定位

jQuery('area').each(function(){
var text = jQuery(this).attr('title'),
    link = jQuery(this).attr('href'),
    place = jQuery(this).attr('coords').toString(),
    left = place.split(",")[0],
    top = place.split(",")[1],
    right = place.split(",")[2],
    bottom = place.split(",")[3];

jQuery('<a href="'+link+'" style="position: absolute; top: '+top+'px; left: '+left+'px; background: white; border: 1px solid;">'+text+'</a>').appendTo('.entry-content');
//console.log(text + ' ' + link + ' ' + place + ' ' + left + ' ' + top + ' ' + right + ' ' + bottom);
jQuery('area')。每个(函数(){
var text=jQuery(this).attr('title'),
link=jQuery(this.attr('href'),
place=jQuery(this.attr('coords').toString(),
左=位置。拆分(“,”[0],
顶部=位置。拆分(“,”[1],
右=位置。拆分(“,”[2],
底部=位置。拆分(“,”[3];
jQuery(“”).appendTo(“”.entry content');
//控制台日志(文本+链接+位置+左侧+顶部+右侧+底部);
}))


这里有一个链接:

我没有进入插件,而是从每个
区域
获取值,并创建一个绝对定位的
元素,该元素根据
坐标中的值定位

jQuery('area').each(function(){
var text = jQuery(this).attr('title'),
    link = jQuery(this).attr('href'),
    place = jQuery(this).attr('coords').toString(),
    left = place.split(",")[0],
    top = place.split(",")[1],
    right = place.split(",")[2],
    bottom = place.split(",")[3];

jQuery('<a href="'+link+'" style="position: absolute; top: '+top+'px; left: '+left+'px; background: white; border: 1px solid;">'+text+'</a>').appendTo('.entry-content');
//console.log(text + ' ' + link + ' ' + place + ' ' + left + ' ' + top + ' ' + right + ' ' + bottom);
jQuery('area')。每个(函数(){
var text=jQuery(this).attr('title'),
link=jQuery(this.attr('href'),
place=jQuery(this.attr('coords').toString(),
左=位置。拆分(“,”[0],
顶部=位置。拆分(“,”[1],
右=位置。拆分(“,”[2],
底部=位置。拆分(“,”[3];
jQuery(“”).appendTo(“”.entry content');
//控制台日志(文本+链接+位置+左侧+顶部+右侧+底部);
}))


这里有一个链接:

工具提示不是由
alt
生成的。它是由
title
生成的。工具提示的可能副本不是由
alt
生成的。它是由
title
生成的。可能是