NeoSniperkiller
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by NeoSniperkiller
-
-
*bump* ?
-
i could show it to ya in here, but i dont think the tags are allowedthis timeinterval makes the menu slowly appear, kinda sliding out not enabled ok to see the menu go to this page, its a page from w3schoolsSliding menuWell, why do you have showmenu setting a timer interval to call function show? Why would you want it to call that function every 10 milliseconds (10/1000th of a second, or 1/100th) to show it.. you would only need to call show and thats it.. -
Hello,Can anyone tell me (or show me) what I must modify in this code, so it would work for multiple elements.It currently works only for 1 element.
<script type="text/javascript">var i=-135var intHidevar speed=3function showmenu(){clearInterval(intHide)intShow=setInterval("show()",10)}function hidemenu(){clearInterval(intShow)intHide=setInterval("hide()",10)}function show(){if (i<-12){ i=i+speed document.getElementById('myMenu').style.left=i }}function hide(){if (i>-135){ i=i-speed document.getElementById('myMenu').style.left=i }}</script>
Thanks in advance
javascript built menu for my site
in JavaScript
Posted
wow nice page !!!!but what is the problem exactly ?can you post the code of the menu ?