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
Monday, February 15, 2010
Hide Sidebar Blogger -nav Bar Hide/Show Blogger "sidebar"?
Subscribe to:
Post Comments (Atom)
Among the majors:
ReplyDelete\\ \\ \\ \\ \\ \\ \\ \\ 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
Check the display property of the div block to be a hide-and. (Use Javascript to power.) Tutorials for both.
ReplyDelete