Monday, March 18, 2013

JQuery display dialog next to mouse click

var offset = $(lnkTrigger).offset();
$('#divTestContent').dialog("option", "position", [offset.left + 40, offset.top - $(window).scrollTop()]);

No comments:

Post a Comment