Joined June 2012
·
Posted to
jQuery offset of element in relation to viewport
over 1 year
ago
Brilliant!
Posted to
~~ is faster than Math.floor()
over 1 year
ago
Is there an equivalent shortcut for rounding up?
Achievements
648 Karma
118,159 Total ProTip Views
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Forked
Have a project valued enough to be forked by someone else
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Cub
Have at least one original jQuery or Prototype open source repo
Great post!
Personal preference, but I like to prefix my jQuery objects with a $ to offer quick reference that it is a jQuery object and not just another variable.