Before/After Photo Effect with jQuery
If you have a design or makeup blog, or if you are using before and after image comparison, this script will surely be very useful for you. In this tutorial, you will see how to add the Before/After plugin, a script that works with jQuery to display two pictures dynamically for comparing them at the same time.
To see it in action, please click on the demo link from below - by dragging sideways the small bar, you'll see both images that are being compared:
Implementing this script is really easy. We just need jQuery, the Before/After script, and the two images to compare.
How to add Before/After Effect on Blogger Images
Step 1. Go to Template > Edit HTML and click anywhere inside the code area. Now press the CTRL + F keys and search for the following tag - hit Enter to find it:Step 2. Right before paste the following scripts:
Step 3. Click the Save template button to save your changes.
Note: if the above script doesn't work for you, add it above the
0 commentaires:
Enregistrer un commentaire
Abonnement Publier les commentaires [Atom]
<< Accueil