Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. $("#demo02").animatedModal({
  2. modalTarget: 'modal-02',
  3. animatedIn: 'slideInRight',
  4. animatedOut: 'slideOutLeft',
  5. color: '#3498db',
  6. // Callbacks
  7. beforeOpen: function() {
  8. console.log("The animation was called");
  9. },
  10. afterOpen: function() {
  11. console.log("The animation is completed");
  12. },
  13. beforeClose: function() {
  14. console.log("The animation was called");
  15. },
  16. afterClose: function() {
  17. console.log("The animation is completed");
  18. }
  19. });
  20.  
  21. Reveal.initialize({
  22.  
  23. transition: 'slide', // none/fade/slide/convex/concave/zoom
  24. backgroundTransition: 'slide',
  25. viewDistance: 12,
  26. progress: false,
  27. slideNumber: true,
  28. embedded: true,
  29.  
  30. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement