August 17, 200917 yr I've been trying to set up this website with the help of a mootools javascript plugin called "noobslide". This is basically a way to show a slideshow of images on the homepage. It works great on Firefox but with internet explorer the slide show gets to the final (6th) image and then stops functioning, bringing up the error "'link' is null or not an object". Can anyone help me to get this functioning in Internet Explorer? I would really appreciate the help. Many thanks.
August 18, 200917 yr Author Just in case anyone else runs into a similar problem I found out what was wrong: My original noobslide js code lookedlike this: window.addEvent('domready',function(){ var info5 = $('info5').set('opacity',0.5); var sampleObjectItems =[ {title:'Downtown', date:'August 2008', link:'http://www.formart.co.uk/newsite'}, {title:'Forth Avenue, Vancouver', date:'August 2008', link:'http://www.formart.co.uk/newsite'}, {title:'Freud', date:'July 2008', link:'http://www.formart.co.uk/newsite'}, {title:'Falling', date:'July 2008', link:'http://www.formart.co.uk/newsite'}, {title:'Stairway', date:'January 2009', link:'http://www.formart.co.uk/newsite'}, {title:'Ballerina', date:'January 2009', link:'http://www.formart.co.uk/newsite'}, ]; var hs1 = new noobSlide({ box: $('box1'), items: [1,2,3,4,5,6], size: 440, autoPlay: true, items: sampleObjectItems, interval: 6000, onWalk: function(currentItem){ info5.empty(); new Element('h4').set('html','<a href="'+currentItem.link+'"></a>'+currentItem.title).inject(info5); } }); }) after the final "sampleObjectItems" item ("Ballerina") there should not have been a comma as it is the final item in the list. Once I took this out everything worked fine in IE
August 18, 200917 yr Author Ok, So as I previously mentioned I got the slideshow to work in IE. However, in IE6 the last image does not show up. For the life of me I can't figure out why this is. Does anyone have any suggestions?
Create an account or sign in to comment