
11-20-2007, 08:21 PM
|
 |
|
|
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Mazinger
I tested it on IE - not sure about FF, probably I can test it on FF this week.
@Fungsten, add the code above this:
HTML Code:
<!-- / breadcrumb, login, pm info -->
|
Here's where I put it:
Quote:
</tr>
</table>
<!-- colors form -->
<td class="alt1">
<script language="JavaScript">
<!--
function ColorsOff()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid XImageTransform.Microsoft.BasicImage(gray scale=1)";
}
function ColorsOn()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid XImageTransform.Microsoft.BasicImage(gray scale=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 -->
<!-- / breadcrumb, login, pm info -->
|
|