Variable Visions

jQuery breaks in IE7

Published Mon. Nov. 19, 2012

jQuery breaks in IE7 if a comma is used before ending the function

$('.cyclecontainer .articlelist').cycle({

                                                            fx:'fade',

                                                            pause: 1,

                                                            timeout: 4000,

                                                            speed:2000,

                                                            random: 1,

                                                });

 

$('.cyclecontainer .articlelist').cycle({

                                                            fx:'fade',

                                                            pause: 1,

                                                            timeout: 4000,

                                                            speed:2000,

                                                            random: 1

                                                });

Keywords:jQuery, IE7 bug