Commits

Yuki KODAMA  committed ba7bde7

use a new option 'onClick' in example

  • Participants
  • Parent commits fdffce8

Comments (0)

Files changed (1)

     },
     onPause: function() {
         $(this).tinyslide('set', 'showDots', true);
+    },
+    onClick: function(ev) {
+        ev.preventDefault();
+        alert('clicked: ' + $(this).attr('href'));
     }
 });
 </pre>