My site is working fine but im getting an annoying error icon in bottom left of the IE8 browser. The error message is ‘Object doesn’t support this property or method’. The reason this is happening is that the code below is in a javascript file that loads on every page. However the plugin that ‘cycle’ uses is only loaded on the page where its needed, creating this error on ever other page.
$('#mydiv').cycle({
fx: 'fade'
});
This doesn’t break anything in my site but it looks unprofessional to have this error icon. Other than putting the js above only on the page that has the plugin, is there another solution to this? Thanks
1 Answer