change ad's look, change the look of the xanga ad. |
change ad's look, change the look of the xanga ad. |
![]()
Post
#1
|
|
![]() Newbie ![]() Group: Member Posts: 2 Joined: Feb 2004 Member No: 5,469 ![]() |
well, currently there's an ad fading code going around that looks like this:
CODE <!-- begin code provided by createblog.com --> <script> function opaque(){ banner = document.body.firstChild.firstChild.getElementsByTagName('table')[0]; banner.style.filter = "alpha(opacity=50)" } setTimeout("opaque()",1); </script> <!-- end code provided by createblog.com --> and you can change the opacityto 20 or 75 or whatever, yadda yadda yadda. however, you can also change the word "opacity" to something else. for instance, "gray", "xray", "invert"... i think that's it. so for instance, if you change the code to xray: CODE <!-- begin code provided by createblog.com --> <script> function opaque(){ banner = document.body.firstChild.firstChild.getElementsByTagName('table')[0]; banner.style.filter = "xray" } setTimeout("opaque()",1); </script> <!-- end code provided by createblog.com --> you'll get a lovely banner that is all black and white. i currently have this one running on my xanga, so you can lookit it. it's pretty neat. (note: i'm currently messing with my xanga, so stuff might be messed up right now... but the code works! ^^) gray will change the ad to white and black (as opposed to xray which is black and white... i hope that's understandable ^^;;; ) and invert will just use the opposite of all the colors. for instance, all things on the ad that are blue will turn orange, and vice versa. and white = black. aaand... i believe that's all. i hope this was a help to at least one person. goodness knows the ad opacity is fine and dandy, but it's still all orange and blue. these changes here will modify nicely for black & white layouts. except invert, which is just plain ugly. ^^;;; |
|
|
![]() |
![]()
Post
#2
|
|
![]() Happy Person ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,729 Joined: Feb 2004 Member No: 4,674 ![]() |
nevery mind.. this whole script takes up 125k of RAM... I'm not using it anymore.. though it looked nice
|
|
|
![]() ![]() |