Script, Show or Hide
Either embed the following code or save to a file and link to it in your HTML.
/*
*/
function showLogos()
{
var showbox = document.getElementsByTagName("DIV");
for(var i=0;i<showbox.length;i++)
{
if(showbox[i].className == 'show')
showbox[i].style.display = 'block';
}
saveCookie("showbanners",1);
}
function hideLogos()
{
var showbox = document.getElementsByTagName("DIV");
for(var i=0;i<showbox.length;i++)
{
if(showbox[i].className == 'show')
showbox[i].style.display = 'none';
}
saveCookie("showbanners",0);
}
Configure your ON button with this.
<a href="javascript:" onclick="showLogos();return false;">
Configure your OFF button with this.
<a href="javascript:" onclick="hideLogos();return false;" >
Wrap your object around a DIV like this.
<div class="show">
Follow this link below to see script in action.


