抱歉,我的无知,但我得到了一些动态的内容在页面上,需要语义弹出的工作。我该怎么做?我基本上需要合并这些:
$('body').on('click', '.fakelink', function() {
});
$('.fakelink').popup({
on: 'hover'
});发布于 2015-03-25 13:37:18
试试这个:-
$(document.body).on('click', '.fakelink', function() {
$(this).popup({
on: 'hover'
});
});发布于 2015-03-25 13:46:47
尝尝这个,
$(document).on('mouseenter', '.fakelink', function() {
$(this).popup();
});发布于 2015-03-26 04:53:26
这应该就行了
$(document).ready(function() {
$('body').on('mouseover', '.fakelink', function() {
$(this).popup({
on: 'click',
content : 'My favorite dog would like other dogs as much as themselves'
});
});});
DEMO
https://stackoverflow.com/questions/29248187
复制相似问题