该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Side by Side

描述

This plugin allows you to put two images next to each other. When you move your mouse over them, the line that separates them will move with it! It’s perfect to compare “before” and “now” images.

This plugin will use jQuery to detect when your mouse gets into the box and move the white bar with it.

Simply use the shortcodes like this:
[sidebyside]
[sidebyside-left]
Put here whatever content you want to be on the left side
[/sidebyside-left]

  [sidebyside-right]
    This is the place for the content that goes to the right
  [/sidebyside-right]
[/sidebyside]

What should I put in the shortcodes?

You can put whatever you want.

My suggestion is that you put two images with the same height

Is it responsive?

Yes!

All CSS properties are written with responsive design in mind. So it will look good in all kind of screen sizes.

屏幕截图

  • Default view of two pictures.

  • Once I move the mouse over the images, the separating bar moves with it.

安装

  1. On the left side menu select Plugins > Add New
  2. In “Search Plugins” field enter “side by side” and search
  3. Press “Install Now” button of the “side by side”

常见问题

Installation Instructions
  1. On the left side menu select Plugins > Add New
  2. In “Search Plugins” field enter “side by side” and search
  3. Press “Install Now” button of the “side by side”
Do I need to be a programmer?

No! All you need to do is using these shortcodes:

[sidebyside]
  [sidebyside-left]
    Put here whatever content you want to be on the left side
  [/sidebyside-left]

  [sidebyside-right]
    This is the place for the content that goes to the right
  [/sidebyside-right]
[/sidebyside]
What should I put in the shortcodes?

You can put whatever you want.

My suggestion is that you put two images with the same height

Is it responsive?

Yes!

All CSS properties are written with responsive design in mind. So it will look good in all kind of screen sizes.

评价

2017 年 7 月 18 日 1 回复
A useful plugin if you want the user to be able to see images side by side
阅读所有2条评价

贡献者及开发者

「Side by Side」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Side by Side」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

=1.0.2=
*Minified script is loaded by default. Non minified if SCRIPT_DEBUG is set to true

=1.0.1=
*Script is loaded in the footer

1.0.0

  • First release