Gomjaba
Tue 15th Aug '06, 8:50pm
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 .
(tested only on < FireFox 1.5 though - it seems FireFox 2.0 broke it)
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 .
(tested only on < FireFox 1.5 though - it seems FireFox 2.0 broke it)