obj_plus_minus_div = []
for (i = 0; i < num; i++) {
obj_plus_minus_div[i] = $('#plus_minus_div_'+i)
obj_plus_minus_div[i].qtip({
overwrite: false,
content: {
text: "-"
},
show: {
target: $(".tr_"+i),
effect: false
},
hide: {
target: $(".tr_"+i),
effect: false
},
position: {
my: "top left",
target: "event", effect: false,
adjust: {x: 3, y: 3},
viewport: $(window)
},
events: {
show: function(event, api) {
i = i_active
api.set('content.text', title_plus_minus[i])
}
},
style: {
tip: {
corner: false
}
}
});
} |