Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Javascript
Posted by: David Rodríguez
Added: Nov 10, 2011 8:42 AM
Modified: Nov 10, 2011 8:44 AM
Views: 124
  1. beforeShow: function(input, inst)
  2.     {
  3.         inst.dpDiv.css({marginTop: -input.offsetHeight + 'px', marginLeft: input.offsetWidth + 'px'});
  4.     }