MooTools Tip: Event.stop
The above code works great but there's one small hole I sometimes run into. On rare occasion I feel the need to trigger an event on an element:
The problem is that the Event object is not given when an event is triggered using Element.fireEvent. The way to prevent any problems is an easy if check:
Voila. The safe way to stop events!
One excellent way to add dynamism to any website is to implement a slideshow featuring images or sliding content. Of course there are numerous slideshow plugins available but many of them can be overkill if you want to do simple slideshow without controls or events....