Когда вы нажимаете производственный куб, открывается всплывающее окно.Четвертая ссылка не отображается
Всплывающее изображение под изображением имеет четыре ссылки.
Но я вижу только три ссылки.
Как увидеть четвертую ссылку.
http://jsfiddle.net/Lx7kx/7/embedded/result/
<div class="cubeCellProduction" data-text="Production" data-caption="<a style='padding-left: 30px; font-size: 14px; color: grey;' href='/' >Work Orders</a> <div> <a style='padding-left: 40px; font-size: 14px; color: grey;' >Projects</a> </div>
<div><a style='padding-left: 42px; font-size: 14px; color: grey;' > Work Flow </a></div>
<a style='padding-left: 42px; font-size: 14px; color: grey;' >Reports</a>"
data-image="http://intra.defie.co/images/Desktop_icons_02.07.13/production.png"></div>
$('document').ready(function() {
window.setTimeout(function() {
$('.cubeCellProduction').each(function() {
var htmlText = $(this).attr('data-text');
$(this).append('<div class="cubeTextStyleProduction">' + htmlText + '</div>');
$(this).hover(
function() {
$(".cubeTextStyleProduction").addClass("hovered").append("<span class='divStockProduction'>Production</span>");
},
function() {
$(this).find("span:last").remove();
$(".cubeTextStyleProduction").removeClass("hovered");
});
});
}, 600);
});
'.caption' установлен в' height: 90px! Important', добавьте еще один '30px' или около того, и вы должны его увидеть. –
почему его отрицательный – user2045025