Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

noobslide with internet explorer (javascript)

Featured Replies

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.

  • 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 :D

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.