MooFlow V0.2 - Ajax-Example

Ein @-Symbol
Lautsprecherturm
A deginer must have.
Tropfen
...aber ratet mal was das is..
Platsch - Der Wassertropfen
Micro
Rutsche?
CD-Sammlung
Mandelbrot?

Javascript

  1. var myMooFlowPage = {
  2.  
  3. start: function(){
  4.  
  5. var mf = new MooFlow($('MooFlow'), {
  6. useSlider: true,
  7. useAutoPlay: true,
  8. useCaption: true,
  9. useResize: true,
  10. useKeyInput: true
  11. });
  12.  
  13. $$('.loadjson').addEvent('click', function(){
  14. mf.loadJSON(this.get('href'));
  15. return false;
  16. });
  17. $$('.loadremote').addEvent('click', function(){
  18. mf.loadHTML(this.get('href'), this.get('rel'));
  19. return false;
  20. });
  21.  
  22. }
  23.  
  24. };
  25.  
  26. window.addEvent('domready', myMooFlowPage.start);