swfobject error in IE and WordPress
Friday 12/5/2008 – Category: Uncategorized
I ran into a minor annoyance today with a JS error popping up in IE:
'J.parentNode' is null or not an object
It turns out that a couple plugins that were active (nextgen-gallery and flash-video-player) were both including the swfobject.js in the header. Solution: disable one of the plugins. If you really need both plugins, the other alternative would be to statically include your plugin files in header.php rather than relying on the wp_head(); function.
Leave a Reply
Recent Posts
- LED Light for iPhone 4
(Monday 06/28/2010 – 38 Comments) - WWDC 2010: Worth Every Minute
(Monday 06/14/2010 – No Comments) - Flickr Original for Safari 5!
(Wednesday 06/9/2010 – 15 Comments) - iPad thoughts
(Friday 04/2/2010 – 1 Comment)
