Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error when include the fade-option in sample7 #2

Open
kaipk opened this Issue · 2 comments

2 participants

@kaipk

When i am including the fade-option on sample7 i get this error.
this.items[i].setStyle is not a function
{this.items[i].setStyle('position','absolute')
_class...cked.js (Line 9)

clicking the thumb it comes this error

this.items[this.lastIndex] is undefined
if(!noFx){this.items[this.lastIndex].f...items[this.currentIndex].fade('in');}
_class...cked.js (Line 26)

tested in FF4 Mac, Safari 4 Mac, IE8 Win7

@celticwolf
Owner

Thanks. I'll take a look as soon as I have some time.

@kaipk

perfect, the problem ist this: when i declare the items with this option. items: [0,1,2,3,4,5,6,7],
this.items[i].setStyle('position', 'absolute') it doesnt work
but this work
$$('#box3 span')[i].setStyle('position','absolute');

the problem is my javascript is very bad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.