diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 35 |
1 files changed, 4 insertions, 31 deletions
@@ -21,6 +21,8 @@ <!--JS--> <script src="assets/js/jquery-2.2.4.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> + <script type="text/javascript" src="front.js" defer></script> + </head> <body> @@ -152,7 +154,7 @@ </section> <section class="modal-body"> - <form role="form"> + <form role="form" action="login"> <div class="form-group"> <input type="text" class="form-control" placeholder="Username"> </div> @@ -181,7 +183,7 @@ </section> <section class="modal-body"> - <form role="form"> + <form role="form" action="signup"> <div class="form-group"> <input type="text" class="form-control" placeholder="First Name"> </div> @@ -220,34 +222,5 @@ </div> </article> - <script> - $(document).ready(function() { - - $("input").keyup( function(event) { - if(event.keyCode == 13){ - $(".go-button").click(); - } - }); - - $(".dropdown").hover(function(){ - $(".dropdown-toggle", this).trigger("click"); - }); - - $(".dropdown-toggle").click(function() { - $(this).next(".dropdown-menu").fadeToggle(200); - }); - - // For the Second level Dropdown menu, highlight the parent - $( ".dropdown-menu" ) - .mouseenter(function() { - $(this).parent('li').addClass('active'); - }) - .mouseleave(function() { - $(this).parent('li').removeClass('active'); - }); - - }); - </script> - </body> </html>
\ No newline at end of file |
