2
我使用BlogEngine.Net 2.0並安裝prettyphoto擴展PrettyPhoto.js使用blogengine.net 2.0
,但我不知道如何在我的帖子的網頁使用prettyphoto。
感謝
我使用BlogEngine.Net 2.0並安裝prettyphoto擴展PrettyPhoto.js使用blogengine.net 2.0
,但我不知道如何在我的帖子的網頁使用prettyphoto。
感謝
您需要添加:
rel="prettyPhoto"
圍繞您的圖片錨元素。這裏是來自project site的簡單示例:
<a href="images/fullscreen/2.jpg" rel="prettyPhoto" title="This is the description"><img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="This is the title" /></a>