Rapper^ Posted September 20, 2008 Report Share Posted September 20, 2008 (edited) Tātad: 1. Ejam google.com 2. Atveram izvelni: Attēlu meklēšana 3. Ierakstam vienalga kādu vārdu. (galvenais lai bildes parodas) 4. Augšā kur ir url vieta iekopējam šo skriptu: java script: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); ps. jabūt kopa javascript. man neliekas kopā gign'a nez kapē 5. Skataties kas notiks P.S. tas nebūs visu laiku, vnk. ieejat pa jaunu google.com un viss. Edited September 20, 2008 by Rapper^ Link to comment Share on other sites More sharing options...
knds Posted September 20, 2008 Report Share Posted September 20, 2008 Un priekškam tas vajadzīgs? btw manliekas, ka java un script jābūt kopā, lai skripts strādātu... To tu neesi pieminējis Link to comment Share on other sites More sharing options...
Rapper^ Posted September 20, 2008 Author Report Share Posted September 20, 2008 Tas naw vajadzīgs, es teicu prieka pēc skripts tur pareizi stāv Link to comment Share on other sites More sharing options...
icecube Posted September 20, 2008 Report Share Posted September 20, 2008 (edited) Ir gan jābūt kopā. Edited September 20, 2008 by icecube Link to comment Share on other sites More sharing options...
brazer Posted September 20, 2008 Report Share Posted September 20, 2008 nekas nenotiek. Link to comment Share on other sites More sharing options...
FaCe Posted September 20, 2008 Report Share Posted September 20, 2008 Man nekas nesanāca Link to comment Share on other sites More sharing options...
Rapper^ Posted September 20, 2008 Author Report Share Posted September 20, 2008 (edited) vispirms ierakstat attēlu sadaļā vienalga kādu vardu galvenais lai parodas bildes tad to dkriptu iekopējat site bar P.S JABUT KOPĀ JAVASKRIPT RAKSTĪTS. te nez kapē nelliekas bet tā rakstat kopā Edited September 20, 2008 by Rapper^ Link to comment Share on other sites More sharing options...
gudrais Posted September 20, 2008 Report Share Posted September 20, 2008 (edited) o jā man tagad viss sanāca. prosta tas sākumā javaskript jāraksta kopā. nu kr4 kods ir šitāds: java script: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); edit: nu kr4 paši izņemiet to atstarpi starp java un script. te ieliekot, nekas nesanāk. Edited September 20, 2008 by gudrais Link to comment Share on other sites More sharing options...
Rapper^ Posted September 20, 2008 Author Report Share Posted September 20, 2008 (edited) tieši tā Edited September 20, 2008 by Rapper^ Link to comment Share on other sites More sharing options...
SaS^MAN Posted September 20, 2008 Report Share Posted September 20, 2008 (edited) nekas nesanaak. EDIT : SANAACA, lol. JAVASCRIPT jaaraksta kopaa blja. Edited September 20, 2008 by SaS^MAN Link to comment Share on other sites More sharing options...
LAVRx Posted September 20, 2008 Report Share Posted September 20, 2008 Interesanti! Link to comment Share on other sites More sharing options...
Rapper^ Posted September 20, 2008 Author Report Share Posted September 20, 2008 sas man es 100reiz rakstu ka kopā jāraksta lol vnk. gignā nevar, lagg Link to comment Share on other sites More sharing options...
eziic Posted September 20, 2008 Report Share Posted September 20, 2008 Hmm, vispār tīri interesanti. Link to comment Share on other sites More sharing options...
RiSKS Posted September 20, 2008 Report Share Posted September 20, 2008 uzrakstot tepat foruumaa efekts inchiigaaks Link to comment Share on other sites More sharing options...
X ID Posted September 20, 2008 Report Share Posted September 20, 2008 Da tu jebkurai lapai vari šitādu sūdu uztaisīt, vēl vari pamainīt document.getElementsByTagName("img") -> document.getElementsByTagName("div") Link to comment Share on other sites More sharing options...
Rapper^ Posted September 20, 2008 Author Report Share Posted September 20, 2008 nu tad pameiģini katrai lapai tā uztaisīt. P.S. man tas neinteresē, es rakstiju tieši par google. Link to comment Share on other sites More sharing options...
RJUURIKS RUPONS Posted September 20, 2008 Report Share Posted September 20, 2008 Griezīgi! Link to comment Share on other sites More sharing options...
icecube Posted September 20, 2008 Report Share Posted September 20, 2008 P.S. man tas neinteresē, es rakstiju tieši par google. Nu vot tu pamēģini kādā lapā, kurā ir attēli, šito ierakstīt. Kvai šitajā topikā. Link to comment Share on other sites More sharing options...
FaCe Posted September 20, 2008 Report Share Posted September 20, 2008 Man nepieleca 1. vai 2.? Es rakstu i taja i taja to tekstu a nekā nav! Tas pats atverās! Link to comment Share on other sites More sharing options...
gudrais Posted September 20, 2008 Report Share Posted September 20, 2008 1., bet tu to visu nodzēs un tad kopē iekšā ps. neaizmirsti izņemt atstarpi. Link to comment Share on other sites More sharing options...
FaCe Posted September 20, 2008 Report Share Posted September 20, 2008 ps. neaizmirsti izņemt atstarpi. Nu man nekas neparādās! Parādi skrēnā kas tev parādās! Link to comment Share on other sites More sharing options...
gudrais Posted September 20, 2008 Report Share Posted September 20, 2008 (edited) a atstarpi izņēmi??! ps. man te zināms velviens google prikols!! šitas ir daudz inčīgāks (manuprāt) krč darām tā: 1. atveram googli 2. rakstam meklētājā "find Chuck Norris" (bez pēdiņām) 3. spiežam "Es ticu veiksmei" (ja ir lv) vai "I'm feeling lucky" (vai kkā tā, ja ir eng) kr4 2. pogu jāspiež. un tad tikai lasam! XD specially for face: java script: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); atstarpi izņem starp java un script. u ja kas lasi visu topiku, lai arī visu sapratu!! Edited September 20, 2008 by gudrais Link to comment Share on other sites More sharing options...
FaCe Posted September 20, 2008 Report Share Posted September 20, 2008 ps. man te zināms velviens google prikols!! šitas ir daudz inčīgāks (manuprāt) krč darām tā: 1. atveram googli 2. rakstam meklētājā "find Chuck Norris" (bez pēdiņām) 3. spiežam "Es ticu veiksmei" (ja ir lv) vai "I'm feeling lucky" (vai kkā tā, ja ir eng) kr4 2. pogu jāspiež. un tad tikai lasam! XD Kurā vietā ir tā atstarpe jāizņem? Link to comment Share on other sites More sharing options...
jonass Posted September 20, 2008 Report Share Posted September 20, 2008 sākumā, starp java un script, javascript jābūt Link to comment Share on other sites More sharing options...
Endijs_Dzerkalis Posted September 20, 2008 Report Share Posted September 20, 2008 Labāk ieejat Gign.lv un tad spiežat dienas bildes un to script ievadat AND skraidīs pa ekrānu krutas beibes, būtu forši ja skrietu lēnāk un pa visu ekrānu, man ir 22" un lapas mazas , kā arī neskraida pa visu ekrānu LAbs prikols! I like it! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now