Recently I’ve been taking a look at returning coordinate (x, y) values in jQuery. At first I was a bit confused between the differences between two functions in jQuery. These two functions are offset() and position(). Given the jQuery documentation, the descriptions for these two functions could probably use a little more descriptive reference. Though I may just be playing that card in part of my own misunderstanding at first, though it wouldn’t be the first time the jQuery docs have confused me.
Respectively lets look at the descriptions for these two functions. Read the rest of this entry
Read the rest of this entry