OZONE Asylum
Forums
DHTML/Javascript
tiny effect: rotating text ( using IE's Filters )
This page's ID:
29141
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
This is 281 bytes. Works in IE6. Untested in other versions. [code]<body onload=`C=Math.cos;a=setInterval("b='P01_ROTATOR_';for(i=0;i<12;B.innerHTML=b)b+='<p style=position:absolute;left:'+(30-11*C(a+2))+'%;top:'+(30-20*C(a-9))+'%;FILTER:progid:DXImageTransform.Microsoft.Matrix('+C(a+=.52)+','+(s=C(a+8))+','+s+','+C(a)+'>'+b.charAt(i++)",9)`id=B>[/code] As you can see, I removed some stuff, e.g. the M11, M12 variables, that didn't seem to be necessary, but there's a chance that this makes it break in IE7 for instance. The DX, DY stuff and the width and height was also removed. I also saved one byte by moving the id attribute to the end, without a space between the attributes :) I'm pretty sure some more bytes can be saved, but as you say, 256 is probably not possible. [small](Edited by [url=http://www.ozoneasylum.com/user/2269]HZR[/url] on 04-21-2007 19:52)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »