Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function hide(){
- document.getElementById('dropdown').style.top = "35" + "px";
- }
- function show(){
- var s = 35;
- for(var i = 35; i < 238; i++){
- setTimeout(function(){document.getElementById('dropdown').style.top = s + "px"; s++;console.log(s); }, i*2);
- }
- }
- </script>
Add Comment
Please, Sign In to add comment