browser demo effect
category: general [glöplog]
darn! tested on ie and opera, it's that whitespace thing again,
try this one or under http://www.rafb.net/paste/results/svX5d920.html
Sorry for the inconvenience...
try this one or under http://www.rafb.net/paste/results/svX5d920.html
Quote:
javascript:S=l='';h=document;b=h.body;function C(){for(i=0;i<l;i++){T=R[i].style;p=parseInt(T.left);T.left =(p<1)?p+l*30+999:p-5;T.top=100+Math.sin(p/100)*100}}O=h.getElementsByTagName('a')[0];while(O.tagName!='BR'){O=O.nextSibling; S+=(O.nodeType<2)?O.innerHTML:O.nodeValue}l=S.length;R=new Array(l);for(i=0;i<l;i++){d=h.createElement('div');N=d.style; d.innerHTML=S.charAt(i);N.position='absolute';N.fontSize=30;N.left=i*30+999;R[i]=d;b.insertBefore(d,b.firstChild)}setInterval('C()',9);void(0)
Sorry for the inconvenience...
works for opera now, Ctrl-CLB.
for ie:
wordwrapping strikes again, at least spaces are easy to spot this time:
; d.innerHTML <---
R[i] =d <---
is there a max length for this in ie? that sucker stops interpreting for string longer than 500 characters...
for ie:
wordwrapping strikes again, at least spaces are easy to spot this time:
; d.innerHTML <---
R[i] =d <---
is there a max length for this in ie? that sucker stops interpreting for string longer than 500 characters...
the code on the paste link works fine in firefox, cool! :D
We almost got a proper cracktro :D
We almost got a proper cracktro :D
Yeah, except you're all doing gay scripting.
No wonder you people never get around to beating joke demos.
No wonder you people never get around to beating joke demos.
shftr: shut the fuck up or do something better.
wow, touched a nerve there, didn't I
not really, you're just annoying and, for some reason, you enjoy making lose people's time. Again, less talking an more prods (and no more fun ones, the things are fun on the beginning, limp ninja isn't fun anymore, I miss mnemonix productions...
You make it sound like he's no longer active. I guess you simply don't get it.
"limp ninja isn't fun anymore" is a good t-shirt though.
"limp ninja isn't fun anymore" is a good t-shirt though.
I know, he isn't inactive.
hehehe, cute shit :) someone should mush it all into one script.
gencha: wouldn't it make a very cheesy prod ? the favelet-fx are nice in themselves but making a whole prod out of them might make 1989 call to get its effects back, no ?
And with good reason too. Would you guys please shape the hell up and create demos? I would, but I'm too busy harassing Trace here ;)
sorry to ask this butm
are all of these codes just to put in the address barl? Or can they actually be put into the source code of a site?
are all of these codes just to put in the address barl? Or can they actually be put into the source code of a site?
What do you think? Of course you can put them on sites. It's standard javascript!
thx!!
thx for the answer :) actually, I have 1 more question- if you put it into the source code for a page, is there anyway to stop it after a while? cuz it looks cool, but I'd like for it to stop after a bit, so the content of the page can be read. I'd appreciate any help
Time to learn some javascript then ;) (not as easy as copy/paste)
hi, how do you actually code this for a page? I added the code conventions for javascript:
but it's not working. So, um, how do you do it? please, thanks
Code:
<script language="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=; DIL=document.images; 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)
// -->
</script>
but it's not working. So, um, how do you do it? please, thanks
SOMEONE HELP THE POOR MAN!
The code looks weird to me.
DI=; ?
DI.length; ?
i<DIL ?
what?!
DI=; ?
DI.length; ?
i<DIL ?
what?!
javascript:while(1)alert('jml rules!');
the DI and DI.length I just copied from the first post on this thread. maybe I copied it here wrong though. it's this-
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)
but anyway, sorry, what does "while(1)alert('jml rules!');" do?? thanks
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)
but anyway, sorry, what does "while(1)alert('jml rules!');" do?? thanks
erm...
oÕ ?!
um, ok, that was pretty random, lol
but anyway, would anyone please please know how to set this in a page?
but anyway, would anyone please please know how to set this in a page?