• 正在查找将来过去时的官方设定集?不如看看万界大百科吧!
  • 《将来过去时》第一部分 现在 魔科纪元的少年少女 即将正式发布!
  • 让我偷偷看一眼小鱼君的博客……
  • 服务器已成功迁移到 阿里云(杭州)

“Html:Notify”的版本间的差异

来自小鱼君和他的朋友们
第7行: 第7行:
 
    ssi_modal.notify('{{{type|}}}',{
 
    ssi_modal.notify('{{{type|}}}',{
 
     className: 'custom-notify',
 
     className: 'custom-notify',
     sizeClass: '{{{size|full}}}',
+
     sizeClass: '{{{size|auto}}}',
     position: '{{{position|top center}}}',
+
     position: '{{{position|top right}}}',
 
     title: '{{{title|}}}',
 
     title: '{{{title|}}}',
 
     content: '{{{content|}}}',
 
     content: '{{{content|}}}',

2019年11月20日 (三) 04:37的版本

//

// 以一秒十次的频率疯狂尝试调用ssi-modal,直到插件加载完毕
window.addEventListener('load',function(){
var postNotify = setInterval(function(){
  if (typeof(ssi_modal) !== 'undefined') {
    ssi_modal.notify('',{
      className: 'custom-notify',
      sizeClass: 'auto',
      position: 'top right',
      title: '',
      content: '',
      closeAfter: {
        time: 15
      }
    });
    clearInterval(postNotify);
  }
},100);
});