Java script code for image Dancing in website

Javascript is most popular client side scripting language and this article is based on java script and funny trick. you will enjoy surely after using this trick.

for using this javascript you must open inspect element in web browser, in Chrome you can open directly by pressing f12 button or right click and click on Inspect element.

then this will look like this,

java script

and in upper right corner you will found console button,

java script

and Copythis code :

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);

and paste in console area, see image instruction :

java script

and Press Enter  button and see magic,

Note : if you like this trick then visit regularly this website( Technology Assumed )

More from this stream

Recomended Posts For You

ITR File नहीं करने पर क्या होगा? Rs.5000 Fine कितना जुर्माना ?

क्या आप जानते है कि अगर आपने ITR फाइल नहीं किया तो इसका ख़ामियाजा बहुत ज़्यादा भुगतना पड़ेगा आपको इसलिए कुछ समय देकर इस...

TDS क्या है पूरी जानकारी हिंदी में What is TDS

क्या आप जानना चाहते है की TDS क्या है और TDS Refund कैसे ले हिंदी में तो ये पोस्ट आपके लिए ही है। इस...

Date of Exit कैसे Update करे? PF me DOE kaise dale 100% working

अगर आप अपना PF का पैसा निकालना चाहते है तो withdrawal के process में आपको date of exit update करना होगा और DOE को...

PF Claim Sent to Field Office Means? How to Claim Online

अगर आपने PF Claim Online किया है तो PF Claim Sent to Field Office का status आ रहा होगा ऐसे में इसके बारे में जानेंगे...

Instagram पर Sponsorship कैसे ले? 100% मिलेगा बस ये करे

सोशल मीडिया इंफ्ल्यूएंसर अभी sponsorship से लाखों रुपये महीने कमा रहे है और अगर आप भी सोशल मीडिया से स्पॉन्सरशिप के द्वारा पैसे कमाने...

BJP Delhi CM Announced : ये बने दिल्ली के मुख्यमंत्री

BJP Delhi CM पड़ सबकी निगाह टिकी है1. BJP का सत्ता पर वापसी: संख्याओं की जुबानीसीटें: BJP ने 48 सीटें जीतीं, जबकि AAP 22 पर...