The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I like VB's logout function that turns the screen monochrome....
how is this done? can it be down with javascript code? |
|
#2
|
||||
|
||||
|
Taken from the source code.
Code:
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if (confirm('Are you sure you want to log out?'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|