Jump to content
  • 0

pomoc Display - Box


Quiter

Dotaz

Zdravím, tak dnes som si povedal že si spravím menu, kde po kliknutí na položku sa mi zobrazí ďalšia ponuka.

 

Problém je v tom, že sa nezobrazí.

// HEAD
<script>
			function HideMenu(object)
			{
				document.getElementById(object).style.display = "none";
			}
			function ShowMenu(object)
			{
				document.getElementById(object).style.display = "box";
			}
</script>
// BODY
<ul id="nwm">
			<li>ODKAZ1</li>
			<li>ODKAZ2</li>
			<li>ODKAZ3</li>
			<li>ODKAZ4</li>
		</ul>
		<a href="#" onmouseover="ShowMenu('nwm')" onclick="HideMenu('nwm')">ODKAZ</a>

Skryť to menu funguje správne, ale akonáhle ho raz skryjem, už sa nezobrazí.

 

Vie mi niekto poradiť ?

 

 

// EDIT

Vyriešene, som tam zmýlil BLOCK s BOX

Link to comment
Share on other sites

0 odpovědí na tuto otázku

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...