在博客中加入“花絮”效果

在博客中加入Snap Shots

      Snap Shots表示“花絮”的意思,在博客中可以使用Snap Shots来添加“花絮”效果。
先演示一遍效果,看是否能用:
http://www.cnblogs.com/psunny内部的链接Snap Shots效果不可用

http://www.google.cn外部的链接Snap Shots可用。

可以通过设置来达到这种效果,一般情况下,我们不需要站内链接的Snap Shots效果。

下面的图示中的图片地址和博客文章地址不属于同一站点。 

基本设置

Snap Shots中进行相关设置。

2

      高级设置

  • Show Snap Shot Link Icon

With this option enabled, a small icon will be added at the end of your active links, signaling to your users which of your links Snap Shots and which do not.

      在超链接后面加上一个小图标,表示可以通过这个超链接查看截图。就像下面这种效果。
      1

  • Trigger Snap Shots on Link Icon Only

With this option enabled, the trigger hot-zone for the Snap Shots will be limited to the link icon only, which in turn will decrease the chances of your users accidentally triggering Snap Shots.

     启用该选项,触发Snap Shots的热点将尽限于链接图标,从而大大减少用户不小心触发Snap Shots的机会

  • Display Large Snap Shots by Default

     默认显示大的截图

  • Enable Snap Shots for External Links

With this option enabled, Snap Shots will be enabled for links pointing to pages on other sites.

     启用该选项,Snap Shots将能够指向其他网站的链接(显示其他网站的截图)

  • Enable Snap Shots for Internal Links

With this option enabled, Snap Shots will be enabled for links pointing to pages on your own site. Not recommended for sites where all pages look the same, unless they have
RSS.

     启用该选项,Snap Shots将能够指向自己的网站的链接。不建议所有的页面看起来都一样,除非它们有RSS.

  • Only Display Preview Shots

     仅显示预览。

  • Enable Snap Shots to look for key phrases on your web site, and then add the right Snap Shots.

     在Snap Shots中能够通过查找关键词,来添加正确的Snap Shots.

 

设置完以后,直接Continue,它会跳到如下页面,只需要输入你的站点和E-mail就可以了,同时输入两次密码,表示在这个站点进行注册。

3

继续Continue,到下一页就能看到javascript代码了,copy到自己的后台管理那里,就能把“花絮”效果加进来了。

4

posted @   Sunny Peng  阅读(1469)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
点击右上角即可分享
微信分享提示