Log In · Register

 
change ad's look, change the look of the xanga ad.
jeti
post Mar 7 2004, 03:03 PM
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. ^^;;;
 
 
Start new topic
Replies
faithin_felix
post Mar 7 2004, 11:15 PM
Post #2


Feeel X
******

Group: Member
Posts: 2,814
Joined: Jan 2004
Member No: 1,498



i still dun get why ppl get banned for taking it out ermm.gif
 

Posts in this topic
jeti   change ad's look   Mar 7 2004, 03:03 PM
largosama   i found out that the regular fader takes up alotta...   Mar 7 2004, 10:36 PM
largosama   nevery mind.. this whole script takes up 125k of R...   Mar 7 2004, 10:37 PM
Kensei   125k....   Mar 7 2004, 10:48 PM
faithin_felix   i still dun get why ppl get banned for taking it o...   Mar 7 2004, 11:15 PM
aznhybriddragon   QUOTE(faithin_felix @ Mar 7 2004, 8:15 PM)i s...   Mar 7 2004, 11:22 PM
AngelicEyz00   OOH, this script is cool... I'm gonna use it   Mar 7 2004, 11:45 PM
krnxswat   oops. approved this by accident   Mar 8 2004, 12:09 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: