2013-06-25 67 views

回答

0

使用上要顯示在頁面加載Tinybox 2彈出框

<script type="text/javascript"> 
    window.onload = function() 
    { 
     TINY.box.show(html:'You content go here', 1, 400, 350, 1) 
    } 
</script> 

要關閉後特定時間使用本

<script type="text/javascript"> 
    window.onload = function() 
    { 
     TINY.box.show('contentfile.html', autohide:20, 1, 400, 350, 1) 
    } 
</script> 

彈出框,這將20後關閉彈出此代碼頁秒。

0

我這樣做了。

window.onload = function() 
    { 
     TINY.box.show({ 
      url: '/message.html', 
      width: 403, height: 200, opacity: 20 
     }); 

    }