作者oj113068 (橘子汁)
看板Ajax
標題[問題] 將bootstrap4的slide加上手勢滑動
時間Fri Jan 12 21:28:56 2018
如題,我想將bootstrap 4 的輪播加上手勢滑動
網路上的解法是用jquery mobile
https://goo.gl/oi5Yhr
我之前在bootstrap 3用過相同的方法
但用在bootstrap4 發現不行,發現我引用較新的jquery 3.2.1
會出現錯誤,但如果用舊的jquery 1.11.2就可以
不知道要怎麼改才可以既引用新的jquery,又不會出現錯誤 Orz
瀏覽器回應的錯誤是
jquery.mobile.js:
3337 Uncaught TypeError: Cannot read property 'concat' of undefined
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.165.75.183
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Ajax/M.1515763739.A.2CE.html
1F:→ jhnny97: 我記得jquery mobile對應的是舊版本的jquery,官網有寫, 01/12 23:58
2F:→ jhnny97: 你要用新版jquery就手刻吧 01/12 23:58
3F:→ oj113068: 唔哇,我上官網看到了ORZ 如果我能力自己刻就不會問這 01/13 12:22
4F:→ oj113068: 個啦......QQ 01/13 12:22
6F:→ KOIORI: ndex.html 01/24 21:42