问题
I am trying to implement a moving photo slider that is no jQuery , it uses moo tools
I want a slider like this guy http://mahusay-fbt.blogspot.com/
So I got that piece of code that is specifically designed for blogger here bit.ly/chXo9Q
I implemented it on my dummy blog and it ain't working
This is the error i get
Uncaught SyntaxError: Unexpected number
hacktheplanets.blogspot.com/:1380 Uncaught ReferenceError: Class is not defined
hacktheplanets.blogspot.com/:1657 Uncaught TypeError: Object [object DOMWindow] has no method 'addEvent'
I have no idea where I went wrong and I need help
回答1:
Your packed version of mootools is not quite right. You should replace it.
来源:https://stackoverflow.com/questions/6275515/javascript-uncaught-referenceerror-class-is-not-defined