BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan

BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan (http://bzupages.com/index.php)
-   ETC (http://bzupages.com/forumdisplay.php?f=184)
-   -   Magic of Programing.. (http://bzupages.com/showthread.php?t=8275)

Raheel 18-02-2010 03:56 PM

Magic of Programing..
 
Try this …

It's really cool...

1. Go to Google

2. Click images

3. Type 'flowers' or any other word.

4. You will get a page which is having full of images

5. Then delete the URL from the address bar and paste the below script:

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;functionA(){for(i =0;i

6. See the magic of programming



.BZU. 18-02-2010 04:04 PM

Re: Magic of Programing..
 
kaam nahi kar raha

Raheel 18-02-2010 05:18 PM

Re: Magic of Programing..
 
Don't know why its not working, meray pass to kaam ker raha tha isi liye mainay yahan post ker diya..

Well leave it..

Muzammil 18-02-2010 05:43 PM

Re: Magic of Programing..
 
same here.. kuch nahi ho raha..

Raheel 18-02-2010 06:21 PM

Re: Magic of Programing..
 
Dont know brother aisa kion howa, maine copy kiya tha jaisa tha wesa hi yahan post ker diya phir change bhi ker k dekha but no response...

Reason ?

Muzammil 18-02-2010 06:30 PM

Re: Magic of Programing..
 
Quote:

Originally Posted by Raheel (Post 17837)
Dont know brother aisa kion howa, maine copy kiya tha jaisa tha wesa hi yahan post ker diya phir change bhi ker k dekha but no response...

Reason ?

Reason hai ki code incomplete hai.. :bangin:

complete one..

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

usman_latif_ch 19-02-2010 05:02 PM

Re: Magic of Programing..
 
Cp technology ka yehi nuksan ha

Raheel 19-02-2010 05:04 PM

Re: Magic of Programing..
 
Nuqsaan ho to banda sahi say seekhta hay :)

usman_latif_ch 19-02-2010 05:09 PM

Re: Magic of Programing..
 
nahi yeh rule tu ap ki education sy conflict rakhta ha
agar ap kisi organisation ko yeh mashwara do tu wo bhala kya kary gi ap k sath.... :)

.BZU. 19-02-2010 05:11 PM

Re: Magic of Programing..
 
waisay yehi code aik dafa pehlay bhi bzupages per post kia huya hay


All times are GMT +5. The time now is 11:25 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.