jquery pictures before and after contrast plug-in Beforeafter usage example "with demo source download" _jquery

Source: Internet
Author: User

This example describes the Beforeafter usage of a jquery image before and after the plugin. Share to everyone for your reference, specific as follows:

Today to share a jquery plugin-picture contrast (beforeafter), the effect is as follows:

How to use:

<! DOCTYPE html>
 
 

Parameter description (part):

Showfulllinks: Whether to show the link below, click on the link, will automatically display the full front or back of the picture, the default value: True

ImagePath: Navigate the path of the picture (absolute or relative), the navigation picture refers to the middle green bar and the left and right triangle, default value:/js/beforeafter/

Beforelinktext: Set the previous picture below the link text, default value: Show only before

Afterlinktext: Set after the picture below the link text, default value: Show

Attention:

Before and after two pictures must be the same size.

Full instance code click here to download the site .

Website address:

http://www.catchmyfame.com/catchmyfame-jquery-plugins/jquery-beforeafter-plugin/

More interested readers of jquery-related content can view the site topics: "jquery common Plug-ins and Usage summary", "jquery common Classic Effects Summary", "jquery form operation Tips", "jquery operations JSON data tips," " jquery extension Techniques Summary, jquery drag-and-drop effects and tips summary, jquery table (table) Operation tips Summary, "jquery Ajax Usage Summary", "jquery animation and special effects usage Summary" and "jquery Selector usage Summary"

I hope this article will help you with the jquery program design.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.