PDA

View Full Version : alpha vb code tags


MaDCaT75
09-25-2003, 08:20 AM
I'm posting this here because I really dont know what other section it belongs in. Anyways this is a vb code tag that I came up with about 6 months ago for another forum that I was a moderator at and now it is at my forum too. It's called the alpha tag. What it does is it makes the text or image less visible the closer to 0 you get.

For example, you say text here then that text would be semi-visible. If you set the value to 0 then the text will be totally invisible.

Anyways, on with the code!

under custom vB codes, add a new code and enter the following values for each field:

vB Code tag: alpha

vB Code replacement:

<table style="filter:alpha(opacity={option})">{param}</table>

vB Code example: this text is alpha

Use {option} ? : YES

And here is a screenshot of an image with an alpha value of 20, enjoy the hack :D

Thomas P
09-25-2003, 06:37 PM
Nice! :)

MaDCaT75
09-25-2003, 08:23 PM
Thanks ;)