MyBB Community Forums

Full Version: Request: MyCode for Rainbow text
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you go here, http://rainbow.arch.scriptmania.com/tools/rainbow_text/ , and if you select four rainbows (more dense colors contrasts) you would notice that the colors have a 39 lines starting from:
<FONT COLOR="#FF0000">MEBES</FONT> 
to
<FONT COLOR="#FF002F">MEBES</FONT>

I was wondering if anybody could find the time to make this into a MyCode with:
 \[rainbow\]\[/rainbow\]

~Thanks.
Mebes. As far as I know, you cannot use php or javascript with custom mycodes. This would require some sort of PHP plugin. Refer to that other thread I posted in for an update on a PHP plugin for this.
Title : Rainbow
Short Discription : Rainbow Text
Regular Expression : \[rainbow\](.*?)\[/rainbow\]

Replacement: <SPAN class="rainbow">$1</SPAN>

Enabled? Yes


--- Next Step ---

Download this file from this link http://dynamicdrive.com/dynamicindex10/rainbow.htc

and upload it in your forum folder via FTP or FileManager

---Next Step ---
Go to Template & Style > Templates > [ Working Theme ] > Ungrouped Templates > headerinclude >
in very last of the page copy and paste the code below

<STYLE>

<!--
Rainbow Text- By Chris Rickard ([email protected])
Submitted to Dynamicdrive.com
For this script, visit http://www.dynamicdrive.com
-->

  .rainbow{ behavior:url(rainbow.htc) } 
</STYLE>

THIS WORKS ONLY ON IE

That's It