Don’t use IE7 compatibility mode when testing JavaScript

I just learned the hard way that IE8 in IE7 compatibility mode is not the same as Internet Explorer 7. Apparently IE7 compatibility mode uses the IE8 JavaScript engine and you won’t be able to detect IE7-only JavaScript bugs when testing and developing in compatibility mode.
Continue reading

Overlapping select field bug in IE6 – solved jQuery-style

When using drop-down navigation like Son of Suckerfish, which entails placing absolute positioned layers above the content layer, Internet Explorer 6 displays once again really stupid behavior when it comes to HTML forms with the SELECT element. When the drop-down layer hovers above a form, the SELECT still shines through, it stays above it and cannot be convinced by z-index or any other CSS trick to go where it belongs.
Continue reading

jQuery.popeye 1.0 released

jQuery.popeye 2.0 has been released. Older Versions are no longer supported.

More than 100 comments on the first release of jQuery.popeye, an appearance on the frontpage of delicious.com and coverage in uncounted blogs…

I certainly didn’t expect that much interest. The numerous feature requests,  suggestions, bug reports and, in the end, acknowledgments and nice comments prompted me to continue development, as promised. So here it is, in a major release, a completely rewritten and overhauled jQuery.popeye, the image gallery plugin that started as an alternative to the famous JavaScript lightbox.
Continue reading

Selecting input-fields with maxlength via jQuery

524288?
2147483647?
-1?
No, that’s not my bank account balance…

Unlike any other attribute, maxlength is implicitly present on any input-element. I had to find this out the hard way trying to select only input-elements with an explicitly set maxlength via the jQuery-selector input[maxlength].
Continue reading