【问题标题】:PrettyPhoto.js using blogengine.net 2.0PrettyPhoto.js 使用 blogengine.net 2.0
【发布时间】:2011-07-21 06:33:35
【问题描述】:

我正在使用 BlogEngine.Net 2.0 并安装了 prettyphoto 扩展

但我不知道如何在我的帖子页面中使用 prettyphoto。

谢谢

【问题讨论】:

    标签: blogengine.net


    【解决方案1】:

    你需要添加:

    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>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-06
      相关资源
      最近更新 更多