$(document).ready(function() {
                        $('.open-modal').click(function() {
                            $('#my-modal').quickModal('open', {
                                animation: 'fade-down',
                                speed: 250,
                                timing: 'ease-in',
                                enableClickAway: true,
                                appendBackgroundTo: 'body .content'
                            });
                            return false;
                        });
                        
                        $('#close-button').click(function() {
                            $('#my-modal').quickModal('close', {
                                speed: 1250,
                                timing: 'linear'
                            });
                            return false;
                        });
                    });
                
Click Me