View Single Post
Old 03-21-2011, 03:28 PM   PM User | #10
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
My impression is rather you have inherit a someone else's project, and you must repair it, which is a hard thing to do even for experienced coders.

OK, I've seen some errors again:
Code:
$('.slides').slides({
                    //preload: true,
                    //preloadImage: 'images/loading.gif',
                    //play: 10000,
                    //pause: 5000,
                    //hoverPause: true,
                    pagination: true,
                    generatePagination: false,
                    generateNextPrev: false,
					});
Remove always the last identifier (the last comma) at the end of the elements of an array or an object. At least till IE7 and IE8 are in use.

Code:
MM_preloadImages('images/clients/sainsburys_roll.png','images/clients/volvo_roll.png', etc"
You miss the final parenthesis: should be MM_preloadImages(...). And use the comma as delimiter between all those arguments.

It's a little bit crappy, that document...
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote