Skip to main content

Trick To Rotate Images Of Any Website


You can rotate images of any website to create wonderful effect’s.To Rotate images we will use javascript codes.Using this trick you can rotate images in CircularHorizontal, Combination of Circular and horizontal trajectory.The images can also be made to revolve with your mouse movement.You should also read Cool And Awesome Javascript tricks. It will work in all modern browsers likeGoogle Chrome,Internet Explorer,Firefox etc and on all websites as well.

Trick To Rotate Images in Circular Trajectory in Any Website
Open any website, copy and paste the following  javascript code in your browser address bar and press Enter.The images will start rotating in circular trajectory.
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
Trick To Rotate Images in Horizontal Trajectory in Any Website
To rotate images in horizontal trajectory Copy and paste the following javascript code in your browser address bar and press Enter.
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval( 'A()',5); void(0);
Trick To Rotate Images in Circular as well as Horizontal Trajectory in Any Website
Using this code you will add both the horizontal as well as Circular rotaion effect to images.
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; var DI= document.images; DIL=DI.length; function A(){for(i=0; i < DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5+"px"; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+"px"}R++}tag=setInterval('A()',5 );document.onmousedown=function(){clearInterval(tag);for(i=0; i < DIL; i++){DI.style.position="static";}}; void(0)
Trick To Rotate Images in Circular Trajectory on Mouse Movement in Any Website
This will add the rotaion effect to images only on mouse movements.Whenever you will move your mouse your images will start rotating.
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=100; y4=100; var DI= document.images; DIL=DI.length; function A(_X,_Y){for(i=0; i < DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+_X+"px"; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+_Y+"px"}R++}document.onmousemove=function(event){_X = event.clientX; _Y = event.clientY; A(_X,_Y);};document.onmousedown=function(){for(i=0; i < DIL; i++){DI.style.position="static";}};void(0)
Use these codes on webpages will large number of images to get better effects.,

Comments

Popular posts from this blog

Avast Free Antivirus 18.8.2356 By Avast Software (Non-Commercial Freeware)

Avast Free Antivirus is an efficient and comprehensive antivirus program. It is one of the most popular antivirus programs available, thanks to the reliable and trustworthy brand that Avast have created. The key features that continue to make Avast Free Antivirus so popular are the easy UI, optimized scanning options and continuously updated database of virus definitions. Simple, improved UI The latest version includes a much simpler and quicker to use UI than previous versions. Key features can be easily reached in the sidebar and the homepage is now customizable so you can access the tools you use most often directly. The overall appearance is clean and uncluttered, with buttons intuitively labelled and positioned. Comprehensive Protection Avast are constantly updating their database of virus definitions, meaning your computer will be protected against the latest spyware, viruses and potentially hazardous websites. Avast’s large and active community quickly alerts t...

uTorrent 3.3.2 RC4

µTorrent is a small and incredibly popular BitTorrent client. Micro-Sized Yet Feature Filled Most of the features present in other BitTorrent clients are present in µTorrent, including bandwidth prioritization, scheduling, RSS auto-downloading and Mainline DHT (compatible with BitComet). Additionally, µTorrent supports the Protocol Encryption joint specification (compatible with Azureus 2.4.0.0 and above, BitComet 0.63 and above) and peer exchange. Resource-Friendly µTorrent was written with efficiency in mind. Unlike many torrent clients, it does not hog valuable system resources - typically using less than 6MB of memory, allowing you to use the computer as if it weren't there at all. Additionally, the program itself is contained within a single executable less than 1 MB in size. Skinnable and Localized Various icon, toolbar graphic and status icon replacements are available, and creating your own is very simple. µTorrent also has support for localization,...

Opera 16.0.1196.80

A full-featured Internet browser, Opera includes pop-up blocking, tabbed browsing, integrated searches, and advanced functions like Opera's groundbreaking E-mail program, RSS Newsfeeds and IRC chat. And because we know that our users have different needs, you can customize the look and content of your Opera browser with a few clicks of the mouse. Speed Dial: Your favorite sites are just one click away at all times. Search Shortcuts: Faster search - type your queries directly into the address bar. Trash Can: Instantly reopen recently closed tabs. Mouse Gestures: With Opera you can navigate the Web with your mouse. Opera Link: Synchronize data of your choice online, or among different computers and devices. Quick Find: Opera remembers not only the titles and addresses, but also the actual content of the Web pages you visit. Feed Preview: Preview a Feed by clicking on the feed icon, and you will see it in clean and efficient multiple-column layout. Quick and c...