Announcement

Collapse
No announcement yet.

logout fade script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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...
      X