Forums | MacLife
You are not logged in.
#26 2006-11-20 7:14 pm
- D'Eyncourt
- OMGDICTATOR

- Registered: 2001-12-27
- Posts: 8808
- Website
Re: Make your browser Twirly!!!
This is cool! I especially liked bringing up oatmeal's collection, specifically the page with the current MAF Maxes--none of the Max's are particularly large.
Fried Chicken, make sure that your browser has Javascript enabled.
BOYCOTT SONY
"I think the question now is not whether you went to Vietnam or whether you didn't, whether you fought in the war or fought against the war. I think the only question is whether we can find a president smart enough never to make a mistake like that again"--Molly Ivins, way back in 1992
Offline
#27 2006-11-20 8:06 pm
- Freezer mac
- iPod scroll wheel

- From: next to a big cold lake.
- Registered: 2001-01-06
- Posts: 7370
Re: Make your browser Twirly!!!
try it on engadget or gizmodo 
Offline
#28 2006-11-20 9:19 pm
- Some1
- The flying moleman.

- From: Montréal
- Registered: 2003-05-17
- Posts: 2702
Re: Make your browser Twirly!!!
What's even funnier is how the images that are linked are still links, just in motion. Can you click the right one?
Offline
#29 2006-11-22 1:51 am
- chuckaeronut
- MobileMe Web Gallery, dude!

- From: Unknown.
- Registered: 2003-03-25
- Posts: 184
- Website
Re: Make your browser Twirly!!!
test wrote:
Seriously, this may be the closest thing to a legitimate application of javascript I have ever seen.
Awwww. JavaScript rocks. You can make seriously fun stuff with it! Actually, I'm a javascript junkie because that's what I made my living doing last summer. When you said that, it ripped a piece of my soul out.
It's this... I'm proud of it, so I'll post it. I'm not trying to sell anything... is it okay? http://henry.sandi.net/students/2008/we … index.html
?
Offline
#30 2006-11-22 3:15 am
Re: Make your browser Twirly!!!
chuckaeronut wrote:
test wrote:
Seriously, this may be the closest thing to a legitimate application of javascript I have ever seen.
Awwww. JavaScript rocks. You can make seriously fun stuff with it! Actually, I'm a javascript junkie because that's what I made my living doing last summer. When you said that, it ripped a piece of my soul out.
It's this... I'm proud of it, so I'll post it. I'm not trying to sell anything... is it okay? http://henry.sandi.net/students/2008/we … index.html?
That's got to be the smoothest piece of javascript I've ever seen. My only quibble with it is the slide show goes a bit too fast.
JavaScript definitely has its uses. I personally don't pay much attention to it myself, though, since I'm more of a compiled language guy. And fully compiled at that, since I detest Java.
(and C# would also fall under that, since it essentially copies Java everywhere possible) I do see that my life on the internet would be very empty without languages such as PHP and JavaScript, though.
Twirlyness bookmarked BTW. It has been deemed worthy to belong on my bookmarks bar. 
Offline
#31 2006-11-22 9:08 am
- musicalmac
- MacAddict Faithful

- Registered: 2002-09-26
- Posts: 353
Re: Make your browser Twirly!!!
I had to respond so I could see my avatar on there, too!
iPerson with Advice: Liberate te ex Infernis
CNET Moderator
Offline
#32 2006-11-22 1:59 pm
Offline
#33 2006-11-22 2:08 pm
- Mr. McPhee
- Looking into the Sun

- From: Number 9
- Registered: 2004-04-14
- Posts: 1220
Re: Make your browser Twirly!!!
try this version
javascript:R=10; 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.cos(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.tan(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0);
Come play in the Sandvox for your Web Needs
Offline
#34 2006-11-22 9:38 pm
Re: Make your browser Twirly!!!
So, is there a way to make these bookmarklets/javascripts load a webpage first before twirling? Might be a fun April Fools prank to replace someone's bookmarks with these and still load the correct page. :sinister:
/knows it's juvenile
Offline
#35 2006-11-23 1:51 am
Re: Make your browser Twirly!!!
chuckaeronut wrote:
It's this... I'm proud of it, so I'll post it. I'm not trying to sell anything... is it okay?
Yeah, it's ok.
Nifty.
test wrote:
Seriously, this may be the closest thing to a legitimate application of javascript I have ever seen.
... When you said that, it ripped a piece of my soul out.
But don't you die a little each time you have to write code like
Code:
if(isIE()) {
...
} else {
...
}Offline
#36 2006-11-23 5:17 am
- chuckaeronut
- MobileMe Web Gallery, dude!

- From: Unknown.
- Registered: 2003-03-25
- Posts: 184
- Website
Re: Make your browser Twirly!!!
Yes, and I die a little each time I have to make separate DIVs with filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png' sizingMethod='image'); in the CSS in order to make PNGs render correctly in IE. And don't tell me IE7 does PNGs properly now! It renders them all right if they have no opacity... but once you give them an opacity less than full-on 100%, the alpha goes away! Arrrg. Or that if you want to fade a DIV containing absolutely positioned children, the whole thing disappears in IE.
That said, don't YOU die a little each time you see me call "isIE()," which actually checks every time to see if it's IE, instead of just storing a quick boolean on the page load and looking that up? Hahaha 
Offline
