jQuery small2big image zoom plug-in
jQuery small2big image scaling plug-in, compatible with mainstream browsers, recommended download on PHP Chinese website! Instructions: 1. The head area references files css and js libraries 2. Add html code to the file. One li corresponds to one picture. The pictures in the images folder are named 1.jpg, 2.jpg, ... <ul class="s2b_col" id="s2b_col">
Instructions:
1. The head area references files css and js libraries
2. Add html code to the file. One li corresponds to one picture. The pictures in the images folder are named by numbers 1.jpg, 2.jpg, ...
<ul class="s2b_col" id="s2b_col">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
3. Introduce the following js code
$(document).ready(function(){
$("#s2b_col").small2big({
s2bRadius: 170, // The radius of the circular frame when the picture is enlarged
s2bColLiRowMargin: -10, //The distance between each circle
s2bLiBorderColor: "#000" // Circle border color
// s2bLiAlign: "V" picture vertical arrangement
}).initS2bCol().addS2bFunction();
});
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
16 May 2016
B/S development friends, the homepage often needs some special effects for switching news pictures. In view of jQuery's good plug-in development mechanism, I often write some practical small plug-ins myself. Here is a news picture switching plug-in.
16 May 2016
This article will share with you how to use the JQuery FancyBox plug-in to achieve three styles of special effects for image display. It is very simple and practical. Friends who need it can check it out.
15 Jun 2023
With the continuous development of web technology, more and more special effects and transition effects are applied to web design. Among them, picture special effects and transition effects are the most common ones in web design. JavaScript is a commonly used scripting language in front-end development, and it also has certain advantages in realizing image special effects and transition effects. This article will introduce how to use JavaScript to implement image special effects and transition effects. 1. Picture special effects: mouse-over picture enlargement When the mouse hovers over the picture, the picture is made larger through JavaScript.
16 May 2016
In order to adapt local images, remote images, and images that are too small to this plug-in, there are many details to deal with.
26 Aug 2023
Golang's method of implementing picture special effects and graphics transformation 1. Introduction In computer graphics, picture special effects and graphics transformation are common operations that change and enhance images. As a cross-platform, high-performance programming language, Golang provides a wealth of libraries and tools to process images and implement various special effects and transformations. This article will introduce how to implement picture special effects and graphics transformation in Golang, and give corresponding code examples. 2. Image special effects grayscale Grayscale is a special effect that converts pictures into black and white images. In Golang
29 Dec 2017
e-smart-zoom-jquery.js plug-in, this article briefly introduces the use of jQuery image zoom plug-in smartZoom and the solutions to problems encountered through example code. It is very good and has reference value. Friends who need it can refer to it. I hope Can help everyone.
18 Aug 2023
Canvas special effects include particle effects, line animation, image processing, text animation, audio visualization, 3D effects, game development, etc. Detailed introduction: 1. Particle effect, by controlling the position, speed and color of particles to achieve various effects, such as fireworks, raindrops, starry sky, etc.; 2. Line animation, by drawing continuous lines on the canvas, create various effects. A dynamic line effect; 3. Picture processing, by processing pictures, you can achieve various cool effects, such as picture switching, picture special effects, etc.; 4. Text animation and other features.
16 May 2016
Full-screen fade-in and fade-out simple banner, asynchronous picture and text effects switching picture special effects, friends in need can refer to the following
06 Jul 2016
jquery waterfall flow LightBox picture box special effects
Hot Tools
jQuery 3D picture slider carousel effect
3D image Slider carousel effect based on jQuery
Pure CSS to achieve cool switching animations when the mouse passes through pictures
Pure CSS enables cool switching animation code downloads when the mouse passes through pictures.
HTML5 image carousel plug-in with parallax effect
An HTML5 picture carousel plug-in with parallax effect, which can control pictures with the mouse and produce a cool visual difference effect when the picture carousel is scrolled.
B site header image interactive mouse hover depth of field focus effect
An interactive mouse-over depth-of-field focus effect web page special effect for the B site header image.
CSS3 mouseover image effect
A CSS3 mouseover image effect