Magic Web Code: Fantastic JavaScript code

Source: Internet
Author: User
Javascript| Web page

In the IE address bar of the Www.webjx.com home page, enter the following code to test the effect:

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.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; Dis.top=math.cos (r*y1+i*y2+y3) *y4+y5}r++}setinterval (' A () ', 5); void (0);

Can also be in Baidu, or other, as long as the page contains pictures of the page's IE Address bar directly input, you can see the effect.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.