logout fade script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danb00
    Member
    • Jan 2003
    • 46

    logout fade script

    i was wondering whats the source cod efor the logout fade script you use

    the one were people click logout and it fades?

    as i want to edit that but dont know were to look

    im running vb 3.0.3

    thanks

    dan
  • daemon
    Senior Member
    • Jun 2003
    • 2351
    • 3.5.x

    #2
    If you edit the navbar template, you'll find this code:

    HTML 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>
    And that does it.
    Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

    Comment

    • mustang_lex
      Member
      • May 2005
      • 35

      #3
      too bad it doesn't work for flash (SWF) files. My banner is SWF and logout only greys out the bottom half


      Anyways to make the whole page fade

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...