Back to vBulletin 3.6 Add-ons

Turn colors on/off
Mod Version: 1.00, by Mazinger

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 9
Released: 20 Nov 2007 Last Update: Never Downloads: 1
Not Supported Template Edits Is in Beta Stage  

This modification allows users to turn on/off colors in the style (grayscale) - (works in IE Only).



Screenshot:



--------

Installation:

In Navbar, search for:

HTML Code:
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
Above it, add:

HTML Code:
<!-- colors form -->
<td class="alt1">
<script language="JavaScript">
<!--
function ColorsOff()
{
 ht = document.getElementsByTagName("html");
 ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
}
function ColorsOn()
{
 ht = document.getElementsByTagName("html");
 ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=0)";
}
function changeButton()
{
 if (document.onoff.B1.value=='Colors Off')
 {
 document.onoff.B1.value='Colors On';
 ColorsOff()
 }
 else
 {
 document.onoff.B1.value='Colors Off';
 ColorsOn()
}
}
//-->
</script>
<form name="onoff">
  <input type="button" value="Colors Off" name="B1" class="button" style="width: 80px;" onClick="changeButton()" />
</form>
</td>
<!-- / colors form -->
Save the work.

--------

Credits: Thanks to Wayne Luke for his help in making this mod.

What's next: Looking for someway to save selected option with cookies.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025