mooTools 사용에 익숙하지 않아 Prototype JS와 비슷합니다. 누구든지 이것을 모든 수업에 묶는 법을 말해 줄 수 있습니까?mooTools 모든 클래스 바인딩하기
// This grabs all the classes
var mousy = $$('.hf-item-images');
// I don't think this is correct to apply this scroller to all the above classes
var scroll = new Scroller(mousy, {area: 100, velocity: 1});
// Mousemove
mousy.addEvent('mouseover', scroll.start.bind(scroll));
mousy.addEvent('mouseout', scroll.stop.bind(scroll));
이 참으로 잘못된 것입니다. net/docs/more/Interface/Scroller) - 무엇을 하려는지 명확하지 않다 - 스크롤러가되기 위해 모든 부주의 한 요소를 적용하려면 간단한 클래스를 만들어야한다. 각 클래스에 대해 Scroller를 호출해야한다. 요소 – Adidi