2012-02-14 73 views
1

我很新的引導,jQuery和客戶端。我正在使用我的網站中的模塊插件。每一個都很好......直到我還試圖使用傳送帶插件。

$ mod.js代碼中將$ support.transition設置爲true。

$(document).ready(function() { 
    $.support.transition = (function() { 
     var thisBody = document.body || document.documentElement, 
      thisStyle = thisBody.style, 
      support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined 

     return support 
    })() 

在這個文件中,我發現有對彈出式廣告和其他功能(但不包括旋轉木馬)代碼。我從這個網站下載了這個js文件。你是否應該刪除其他不需要的功能?上面的代碼應該駐留在哪裏,如果我有來自同一個comapny的多個插件?

+0

問題就走了我更新到第2版的所有引導文件 – River 2012-02-17 19:55:58

回答