vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Logout effect in IE, FireFox and Opera

utw-Mephisto
10-11-2006, 12:27 AM
I have posted this also on the official vbulletin.com site but I though I share it with you too

Edit the template navbar

AdminCP > Styles & Templates > Style Manager > Edit Templates > Navigation / Breadcrumb Templates > Navbar

Search for

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>


And change to

<script type="text/javascript" language="JavaScript">
<!--
function log_out()
{
// You can change 30 and 0.3 to suit your 'tastes' :)
bo = document.getElementsByTagName('body');
bo[0].style.filter = 'Alpha(opacity="30")';
bo[0].style.MozOpacity = '0.3';
bo[0].style.opacity = '0.3';

if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
bo[0].style.filter = 'Alpha(opacity="100")';
bo[0].style.MozOpacity = '1';
bo[0].style.opacity = '1';

return false;
}
}
//-->
</script>


Screenshot attached .

Cody
01-09-2007, 05:22 AM
very nice man big thx ... raelly use it


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum