I am making a demo of list view. Rows are is generated dynamically (when user press add button).I want to show a pop up screen on left side of icon.But In my demo it is opening on center on every row.Can it is possible it only open on left side of icon or each row (as show in image)
$(document).on("click", "i.test_h", function(e){
alert("pop up open");
$("#Mainnavpanel").popup("open");
});
![enter image description here][2]
I am getting this output.
Override x
and y
position of popup.
$("#Mainnavpanel").popup("open", {
y: $(this).offset().top + ($(this).height() / 2),
x: $(this).offset().left
});
Or positionTo
.
$("#Mainnavpanel").popup("open", {
positionTo: $(this)
});
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments