FancyBoxy and href onclick confirmation box


im trying to get fancybox to load up from a hyperlink with onclick set.

this is so i can ask the user if they really want to proceed with their task.

however it wont appear, this is the code i have


(document).ready(function() {
                            'transitionIn': 'none',
                            'showCloseButton': false,
                            'enableEscapeButton': false,
                            'hideOnOverlayClick': false,
                            'centerOnScroll': true

and the hyperlink is formatted like this…

<a href=‘’ id=‘fancyclick’ onlick=‘fancyclick’>Test</a>