Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #1  
Thread Starter Unread 11-20-07
Turn forum colors on/off

This modification allows end-users to turn on/off colors in the style (grayscale)




Installation:

In Navbar, search for:


<!-- / breadcrumbloginpm info --> 
Above it, add:

<!-- 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> 
</tr>
</table>
<!-- / colors form --> 
Save & your done
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
on or off, turn, on/off, colors, forum
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021