Posts Tagged ‘jQuery’

Internet Explorer “Unspecified Error” with jQuery and getBoundingClientRect May 8, 2010 No Comments

I’ve been getting “Unspecified Error” errors from Internet Explorer with some jQuery code. I traced the cause to jQuery’s “getBoundingClientRect” which comes from a call to $(…).offset({top: X, left: T}). After looking around in some forums/blogs, it seems the error is coming from some handling of internet explorer with offsetParent in some specific cases. to [...]

jQuery shake() function December 29, 2009 No Comments

I needed a quick function for jQuery to shake an absolute or static positioned (can be easily modified to support other positions too, but it doesn’t at the moment) element up&down that isn’t depended on jQuery UI (I’m using to shake simplemodal‘s container). This is what I came up with that: 1 2 3 4 [...]