Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. $.noty.layouts.bottomRight = {
  2. name : 'bottomRight',
  3. options : { // overrides options
  4.  
  5. },
  6. container: {
  7. object : '<ul id="noty_bottomRight_layout_container" />',
  8. selector: 'ul#noty_bottomRight_layout_container',
  9. style : function() {
  10. $(this).css({
  11. bottom : 20,
  12. right : 20,
  13. position : 'fixed',
  14. width : '310px',
  15. height : 'auto',
  16. margin : 0,
  17. padding : 0,
  18. listStyleType: 'none',
  19. zIndex : 10000000
  20. });
  21.  
  22. if(window.innerWidth < 600) {
  23. $(this).css({
  24. right: 5
  25. });
  26. }
  27. }
  28. },
  29. parent : {
  30. object : '<li />',
  31. selector: 'li',
  32. css : {}
  33. },
  34. css : {
  35. display: 'none',
  36. width : '310px'
  37. },
  38. addClass : ''
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement