BirdOPrey5
07-14-2010, 10:00 PM
This BB Code produces a rainbow like text fade effect. It uses Javascript to put multiple html font color tags between characters. There are two ways of doing this, the first method uses an external javascript file. In the second post you add the javascript to every page via the header template instead, this may be better if you expect the rainbow text to be called many times on a single page.
Demo: here. (http://www.juot.net/forums/showthread.php?p=830661#post830661)
Screen Shot:
https://vborg.vbsupport.ru/external/2011/08/71.jpg
1. Download the attached textfade.js.txt file, rename it to textfade.js, and upload it to your forums/clientscript folder.
2. Add a new BBCode
Title: Text Fade
BB Code Tag Name: fade
Replacement:
<script type="text/javascript" src="/forums/clientscript/textfade.js"></script>
<script>fadeText("{param}");</script>
*Adjust the path to the textfade.js file as necessary. For example if your forum is installed in the web root (www.my-domain.com/) instead of (www.my-domain.com/forums/) then your path would simply be src="/clientscript/textfade.js"
Example: This code fades text in a rainbow.
Description: This uses javascript to make a smooth rainbow effect in text.
Use Option: No
Button Image: (optional) https://vborg.vbsupport.ru/external/2011/08/71.jpg
Remove Tag If Empty: Yes
All Disable Options: Yes except disable word wrapping: No
Limitations:
You can not use other bbcode within this bbcode, but you can use it OUTSIDE of this bbcode to change the font style/color/type etc...
You can't use smilies within this bbcode.
You can't use the double quote (") within this bbcode.
This BB Code was made for vB 3.8 but should work on all current versions.
Please mark as installed if you use this. :)
Demo: here. (http://www.juot.net/forums/showthread.php?p=830661#post830661)
Screen Shot:
https://vborg.vbsupport.ru/external/2011/08/71.jpg
1. Download the attached textfade.js.txt file, rename it to textfade.js, and upload it to your forums/clientscript folder.
2. Add a new BBCode
Title: Text Fade
BB Code Tag Name: fade
Replacement:
<script type="text/javascript" src="/forums/clientscript/textfade.js"></script>
<script>fadeText("{param}");</script>
*Adjust the path to the textfade.js file as necessary. For example if your forum is installed in the web root (www.my-domain.com/) instead of (www.my-domain.com/forums/) then your path would simply be src="/clientscript/textfade.js"
Example: This code fades text in a rainbow.
Description: This uses javascript to make a smooth rainbow effect in text.
Use Option: No
Button Image: (optional) https://vborg.vbsupport.ru/external/2011/08/71.jpg
Remove Tag If Empty: Yes
All Disable Options: Yes except disable word wrapping: No
Limitations:
You can not use other bbcode within this bbcode, but you can use it OUTSIDE of this bbcode to change the font style/color/type etc...
You can't use smilies within this bbcode.
You can't use the double quote (") within this bbcode.
This BB Code was made for vB 3.8 but should work on all current versions.
Please mark as installed if you use this. :)