Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($(window).width()<=800) {
- $( document ).ready(function() {
- $( ".cross" ).hide();
- $( ".navigation" ).hide();
- $( ".hamburger" ).click(function() {
- $( ".navigation" ).slideToggle( "slow", function() {
- $( ".hamburger" ).hide();
- $( ".cross" ).show();
- });
- });
- $( ".cross" ).click(function() {
- $( ".navigation" ).slideToggle( "slow", function() {
- $( ".cross" ).hide();
- $( ".hamburger" ).show();
- });
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement