0
我在我的Tour執行的頁面上有很多div .contact-box
。如何在Bootstrap Tour中選擇特定課程的第一個元素?
我不想全選,只是第一個。
我嘗試這樣做:
{
element: "#page-wrapper div.contact-box:first-of-type",
title: "Player Info",
content: "Here we have a quick snapshot of "
},
但沒有奏效。
我該怎麼做?
發佈您的整個JS代碼。 – Perumal