基金会在鼠标悬停时显示模态

时间:2015-05-21 07:43:33

标签: jquery hover zurb-foundation

我想在鼠标悬停上显示揭密模式

我试过了:

$('.hovereffect').mouseover(function() {
    console.log("hi");
    $('#myModal').foundation('reveal', 'open'); 
});

1 个答案:

答案 0 :(得分:0)

HTML代码;

cell_val3 = sheet.cell_value(row_iteration, 20)

jQuery加载;

<a href="#" class="open-first">Hover</a>
<div class='reveal-modal' id='first-modal' data-reveal>
    I'm the firstborn!
    <a class='open-second'>Click me!</a>
</div>

JSFiddle链接:http://jsfiddle.net/fatihmert/noymmdab/