我想要在WordPress中產品圖片懸停的彈出窗口,我使用popover.js還包括引導程序的js和css。我的WordPress主題包含bootstrap。 這裏是我的產品形象代碼,在wordpress中懸停彈出窗口
<a href="Projektorer-research.jpg" data-toggle="popover" data-trigger="hover" data-content="test"><img class="alignnone size-full wp-image-134" src="Projektorer-research.jpg" alt="Projektorer-research" width="268" height="150" /></a>
這裏我使用的數據內容=「測試」爲例,其實我想那邊顯示無序列表。