The Useful Information

1) The website that loads jQuery:

<script src=”//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js”></script>

Menu-bar code:

var main = function() {

$(‘.icon-menu’).click(function(){

$(‘.menu’).animate({

left: ‘0px’

}, 200);

$(‘body’).animate({

left: ‘285px’
}, 200);

$(‘.icon-close’).click(function(){

$(‘.menu’).animate({

left: ‘-285px’

}, 200);

$(‘body’).animate({

left: ‘0px’

},200);

});

});
};

$(document).ready(main);

Advertisements

One thought on “The Useful Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s