我想我会在给开发者发邮件之前问你所有问题。有人熟悉CSS悬停屏幕上的奇怪“噪音”吗?只有当我在cssMap函数中使用变量而不是数字时才会发生这种情况,如下所示。我正在使用Winston Wolf's CSS Clickable Map。请参阅这里行动:http://animalnecessity.com/company/where-to-buycss悬停上奇怪的噪音
var windowWidth=J(window).width();
console.log(windowWidth);
if (windowWidth>500 && windowWidth<750){
var size= 750;
}
else if (windowWidth>750 && windowWidth<960){
var size= 850;
}
else if (windowWidth>960){
var size= 960;
}
else
console.log('Not working');
J(function(J)
{
J('#map-usa').cssMap(
{
'size' : size,
'tooltips' : 'floating',
'cities': false,
});
});
截屏。我徘徊时没有看到任何东西。 – Blender 2013-03-26 00:18:59
我在地图上看到一个扭曲的地图,覆盖了南美洲的大部分地区,非洲的一半以及澳大利亚的全部地区。 (使用chrome)。在地图上的某些地方悬停时也会发生扭曲。 – 2013-03-26 00:22:17