Jquery Fare Animasyonu - Jquery Mouse Animation
How do I make an jquery fare animasyonu - jquery mouse animation?
Jquery Fare Animasyonu - Jquery Mouse Animation . What is a jquery fare animasyonu - jquery mouse animation? How do you make a jquery fare animasyonu - jquery mouse animation? This script and codes were developed by Ayhan ALTINOK on 13 September 2022, Tuesday.
Jquery Fare Animasyonu - Jquery Mouse Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Jquery Fare Animasyonu - Jquery Mouse Animation </title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h3><center>Jquery Fare Animasyonu - Jquery Mouse Animation </center></h3>
<div id="animasyon"></div>
<div class="copyright"><font style="float:right; margin-right:30px;">Copyright © 2013 - Ayhan ALTINOK </font>İletişim bilgileri :<font style="color:#505050"> Web Adresi:</font> www.graphicsfamily.com <font style="color:#505050"> Mail :</font> [email protected] <font style="color:#505050">Facebook: </font>www.facebook.com/ayhanaltinokesk</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Jquery Fare Animasyonu - Jquery Mouse Animation - Script Codes CSS Codes
h3{background:#101010 url(http://l1308.hizliresim.com/1d/8/r8pt1.png);color:#e5e5e5;border-bottom:solid 1px #000;margin:0px;padding:10px ; box-shadow: inset 0 0 5px #000;}
#animasyon{ border-radius:100%; box-shadow: inset 0 0 5px #101010; border:#202020 3px solid; background-image: url("http://www.fore6.com/wp-content/uploads/2011/09/henson11-hp-1g.png"); background-position: -120px -119px; background-repeat: no-repeat; height: 117px; margin: 10% auto; background-color:#000; width: 117px;
}
html,body{margin:0px;padding:0px;/*width:900px;*/background:#171717 url(http://l1308.hizliresim.com/1d/8/r8prr.png);}
.copyright{width:100%;height:auto; background-color:#171717;color:#aaa;position:fixed; bottom:0px;font: 12px Arial;padding:5px;opacity:0.4;border-top:#a00 2px solid;z-index:99999;left:0px;right:0px;}.copyright:hover{opacity:1}
/* Ayhan Altınok*/
Jquery Fare Animasyonu - Jquery Mouse Animation - Script Codes JS Codes
var aniX = null;
var aniy = null;
$(document).ready(function(){ aniX = $("#animasyon").offset().left; aniY = $("#animasyon").offset().top; $(document).mousedown(function(event){ var mousePos = new Array(event.pageX, event.pageY); interact(mousePos, ["-356px", "-475px", "-593px"]); }); $(document).mouseup(function(event){ var mousePos = new Array(event.pageX, event.pageY); interact(mousePos, ["-1px", "-120px", "-238px"]); }); $(document).mousemove(function(event) { var mousePos = new Array(event.pageX, event.pageY); interact(mousePos, ["-1px", "-120px", "-238px"]); });
});
function interact(mouseCord, aniCord){ if (mouseCord[0] < aniX && mouseCord[1] < aniY){ // Box-1 $("#animasyon").css("background-position", aniCord[0]+" 0px"); } else if (mouseCord[0] > aniX && mouseCord[0] < aniX+117 && mouseCord[1] < aniY){ // Box-2 $("#animasyon").css("background-position", aniCord[1]+" 0px"); } else if (mouseCord[0] > aniX+117 && mouseCord[1] < aniY){ // Box-3 $("#animasyon").css("background-position", aniCord[2]+" 0px"); } else if (mouseCord[0] < aniX && mouseCord[1] > aniY && mouseCord[1] < aniY+117){ // Box-4 $("#animasyon").css("background-position", aniCord[0]+" -119px"); } else if (mouseCord[0] > aniX && mouseCord[0] < aniX+117 && mouseCord[1] > aniY && mouseCord[1] < aniY+117){ // Box-5 $("#animasyon").css("background-position", aniCord[1]+" -119px"); }else if (mouseCord[0] > aniX+117 && mouseCord[1] > aniY && mouseCord[1] < aniY+117){ // Box-6 $("#animasyon").css("background-position", aniCord[2]+" -119px"); } else if (mouseCord[0] < aniX && mouseCord[1] > aniY+117){ // Box-7 $("#animasyon").css("background-position", aniCord[0]+" -237px"); } else if (mouseCord[0] > aniX && mouseCord[0] < aniX+117 && mouseCord[1] > aniY+117){ // Box-8 $("#animasyon").css("background-position", aniCord[1]+" -237px"); } else if (mouseCord[0] > aniX+117 && mouseCord[1] > aniY+117){ // Box-9 $("#animasyon").css("background-position", aniCord[2]+" -237px"); }
}
Developer | Ayhan ALTINOK |
Username | AyhanALTINOK |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 2,600 Kb |
Views | 26,312 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Slider | 3,174 Kb |
Css sallanan resim efekti | 2,476 Kb |
Galeri efekti | 2,054 Kb |
A Pen by Ayhan ALTINOK | 49,465 Kb |
Filtre ile Arama Kutusu - Search Box with Filter | 3,448 Kb |
Css galeri | 2,640 Kb |
Css3 animasyon | 3,191 Kb |
Menu | 2,158 Kb |
Facebook Responsive Lightbox | 4,661 Kb |
Akordion slayt -acordion slide | 3,256 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Flip test | Madhes | 1,635 Kb |
Guidepopup | Wooljs | 3,747 Kb |
Android Play Store With Slick Carousel | -J0hn- | 4,982 Kb |
GrcJS | Vino6 | 2,047 Kb |
Word Wrap Algorithm for Multiline Canvas Text | Peterhry | 2,349 Kb |
Count up | Alanshortis | 2,391 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Bezier Animation with straight paths | Rhernando | 2,087 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!