我在線發現了您的jQuery Smooth Div Scroll工具。我打算捐,但我無法使其與顏色框選項工作像你有你的網站: http://www.smoothdivscroll.com/colorbox.htmljQuery Smooth Div使用Colorbox滾動
我是一個平面設計師,網頁設計師尋找一個畫廊選項,以顯示我的工作。看起來,當我添加鏈接到大圖像的href標籤時,它會打破可滾動畫廊。我在我的HTML的頭部分作爲鏈接的colorbox.css文件:
<link rel="Stylesheet" type="text/css" href="css/colorbox.css" />
我也有這個在文檔正文:
<script type="text/javascript">
$(document).ready(function() {
// Init Smooth Div Scroll
$("#makeMeScrollable").smoothDivScroll({
mousewheelScrolling: "allDirections",
manualContinuousScrolling: true
});
// Init colorbox
$("#makeMeScrollable a").colorbox({ speed: "500" });
});
難道還有另一片我失蹤的難題?一個JavaScript文件?
此畫廊將完美工作。任何幫助或建議你可以給予很大的讚賞!
謝謝
格里
謝謝,我已經加入庫文件和colorbox腳本到html顏色框元素工作正常,但它似乎打破了滾動。顯示的滾動畫廊中只有第一張圖像,當您嘗試使用滾動圖標時,第一張和第二張圖像之間會出現閃爍。 – user1715071
有可能我有一些衝突的腳本? – user1715071
這裏是html頁面:http://www.gerardtonti.com/Scrollable%20Gallery%202/index.html – user1715071