Saturday, February 13, 2010

Hide Sidebar Blogger -nav Bar Hide/Show Blogger "sidebar"?

Hide/Show blogger "sidebar"? - hide sidebar blogger -nav bar

I'm a Show / Hide button to hide / Unhide my sidebar (not) in the navigation bar, I do not know how.

I wish that the sidebar is hidden, when you load the blog, and click to display the button.

a website or a tutorial?

thx a lot

2 comments:

✞☠ Ron ☠✞ said...

Among the majors:

\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; script type = "text / u0026lt" javascript> \\ \\ \\ \\ \\ \\ \\ \\;! --
Var state = 'none';

Function ShowHide (layer_ref) (

if (state == 'block') (
state = 'none';
)
else (
= 'State Block ";
)
if (document.all) (/ / IS IE 4 or 5 (or 6 beta)
eval ( "document.all." layer_ref + +. style.display = state ");
)
if (document.layers) (/ / Netscape 4 or below
document.layers [layer_ref]. Display = state;
)
if (document.getElementById & &! document.all) (
) HZA = document.getElementById (layer_ref;
Hza.style.display = state;
)
)
//--> \\ \\ \\ \\ \\ \\ \\ \\ U0026lt / script>

Between the body tags:

\\ \\ \\ \\ \\ \\ \\ \\ U0026lt p> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt a href = ", # "OnClick =" ShowHide ( 'div1');"> Click to show / hide me! \\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / A> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; / p>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; div id = "div1" style = "display: none"> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt p> This is the content that appears. \\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / p> \\ \\ \\ \\ u0026lt p> Note: Use different identifiers for the various departments \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; / p> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; / div>

Ron

Colanth said...

Check the display property of the div block to be a hide-and. (Use Javascript to power.) Tutorials for both.

Post a Comment