• Posts Tagged ‘js’

    For…In and the Array prototype

    by  • 2011-09-06 • jQuery • 0 Comments

    I just ran into an… “interresting” problem with Javascript. Extending an Array prototype and a naïve For…In iteration over an array spells trouble in FireFox. I’ve only seen this issue in FireFox and I suspect it’s a bug. No doubt it’ll soon enough be fixed but in the meantime this post may help you...

    Read more →

    jQuery.px

    by  • 2011-08-21 • jQuery • 0 Comments

    jquery.px

    While working on a jQuery project, I needed to know the width of the CSS border sizes “thin”, “medium” and “thick”. Since these depend on the browser you’re using, the only way to know for sure is measuring it.

    Read more →