BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bottomCenter.js 995B

1234567891011121314151617181920212223242526272829303132333435363738
  1. $.noty.layouts.bottomCenter = {
  2. name : 'bottomCenter',
  3. options : { // overrides options
  4. },
  5. container: {
  6. object : '<ul id="noty_bottomCenter_layout_container" />',
  7. selector: 'ul#noty_bottomCenter_layout_container',
  8. style : function() {
  9. $(this).css({
  10. bottom : 20,
  11. left : 0,
  12. position : 'fixed',
  13. width : '310px',
  14. height : 'auto',
  15. margin : 0,
  16. padding : 0,
  17. listStyleType: 'none',
  18. zIndex : 10000000
  19. });
  20. $(this).css({
  21. left: ($(window).width() - $(this).outerWidth(false)) / 2 + 'px'
  22. });
  23. }
  24. },
  25. parent : {
  26. object : '<li />',
  27. selector: 'li',
  28. css : {}
  29. },
  30. css : {
  31. display: 'none',
  32. width : '310px'
  33. },
  34. addClass : ''
  35. };