Hi,
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
$Code JavaScript:(document).ready(function() { $("fancyclick").fancybox({ 'transitionIn': 'none', 'showCloseButton': false, 'enableEscapeButton': false, 'hideOnOverlayClick': false, 'centerOnScroll': true });
and the hyperlink is formatted like this..
<a href='http://www.example.com/runcommand' id='fancyclick' onlick='fancyclick'>Test</a>
thanks,


Reply With Quote
Bookmarks