Expected identifier, string or number
Posted: Mon Jun 20, 2011 5:34 pm
				
				Hi 
I'm having a problem with this piece of code in IE
 it works fine in FF, Opera, Google and I guess Safari as they run the webkit engine.
I can't seem to figure out why, the code in dreamweaver reports no syntax errors either. I suspect it's a rogue comma or something. Can anyone advise?
Message: Expected identifier, string or number
Line: 7
Char: 5
Line 7 is noted above.
If anyone can help me, i'd be really grateful, thanks
Jonathon
			I'm having a problem with this piece of code in IE
I can't seem to figure out why, the code in dreamweaver reports no syntax errors either. I suspect it's a rogue comma or something. Can anyone advise?
		window.addEvent('domready', function(e){	
			
			// option 1		
			var slides = [
				{
					image: 'home_slide1.PNG',	
				}, // Line 7 error??
				{
					image: 'chest1.jpg',
				},
				{
					image: 'treehouse1.JPG',
				},
				{
					image: 'barn_slide.JPG',
				},
				{
					image: 'treehouse2.JPG',
				},
				{
					image: 'bathroom1.jpg',
				},
				{
					image: 'joinery_slide.JPG',
				},
				{
					image: 'plans1.jpg',
				},
				{
					image: 'taps1.jpg',
				},
				{
					image: 'hand_made.JPG',
				},
				{
					image: 'forest1.jpg',
				},
				{
					image: 'kitchen3.JPG',
				},
				{
					image: 'river1.jpg',
				},
				{
					image: 'decking1.jpg',
				},
				{
					image: 'barn1.jpg',
				},
				{
					image: 'draw1.jpg',
				}
				
				
				
			];
			
			// option 2
			// var slides = $$('#blinds img');
			$('blinds').floom(slides, {
				slidesBase: 'slides/',
				sliceFxIn: {
					top: 20
				}
			});
			
		});
I get this error from IE:Message: Expected identifier, string or number
Line: 7
Char: 5
Line 7 is noted above.
If anyone can help me, i'd be really grateful, thanks
Jonathon