Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#toggle').click(function() {
- if ($('#shortcuts').is(':visible')) { //Basic function here checks for the form and then brings it in if it isn't showing.
- $('#shortcuts').slideUp('slow');
- $('#overlay').hide();
- }
- else {
- $('#shortcuts').slideDown('slow');
- $('#overlay').fadeTo('slow', 0.5);
- }
- });
- $('#close').click(function() {
- if ($('#shortcuts').is(':visible')) { //Basic function here checks for the form and then brings it in if it isn't showing.
- $('#shortcuts').slideUp('slow');
- }
- else {
- $('#shortcuts').slideDown('slow');
- //$('#overlay').fadeIn();
- $('#overlay').fadeTo('slow', 0.5);
- }
- });
Add Comment
Please, Sign In to add comment