Change images on mouse move on image using Jquery | Sanwebcorner

Change images on mouse move on image using Jquery

In this section i will tell you how to create image change option on image move. It means to display various images when move the cursor point on the images from the left to right or right to left using Jquery and simple html code. This is one of the simple JavaScript effect. 

This is very useful to some sections in website. It changes the images when move the mouse from left and right. This example have the demo link please visit the demo link and check how it works. Click the download link to download the script. I hope this post is very useful to you.

Code for changes image on mouse  move on image using javascript and Jquery:

<!doctype html>
<meta charset="utf-8">
<title>Change image on mouse move using javascript and Jquery</title>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="jquery.shuffle-images.js"></script>
.container {
width: 980px;
margin: 0 auto;


.main {
position: relative;

.shuffle-me {
width: 25%;
height: 150px;
margin: 2%;
display: block;
position: relative;
float: left;
width: 26%;
height: 209px;

.info {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.35);
padding: 20px;
text-align: center;
display: block;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;

.shuffle-group {
position: relative;
width: 100%;
margin-bottom: 10px;

.shuffle-group .shuffle-me {
width: 31.9%;
float: left;
margin: 5px;

.shuffle-group .shuffle-me:first-child {
width: 66%;
float: left;
height: 431px;
.shuffle-group .shuffle-me:first-child h1 {
margin-top: 190px;
font-size: 30px;

target: ".images > img"

<div class="wrapper">
<div class="main">
<div class="container">
<div class="shuffle-group">
<div data-si-mousemove-trigger="100" class="shuffle-me">
<a href="" class="info" target="_blank"><h1></h1><h2>web tutorial</h2></a>
<div class="images">
<img src="images/1.jpg">
<img src="images/2.jpg">
<img src="images/3.jpg">
<img src="images/4.jpg">
<img src="images/5.jpg">