generate_fan_chart('png', $fanChart); // $fanChart comes from the theme exit; } $controller ->pageHeader() ->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js') ->addInlineJavascript(' autocomplete(); var WT_FANCHART = (function() { jQuery("area") .click(function (e) { e.stopPropagation(); e.preventDefault(); var target = jQuery(this.hash); target // position the menu centered immediately above the mouse click position and // make sure it doesn’t end up off the screen .css({ left: Math.max(0 ,e.pageX - (target.outerWidth()/2)), top: Math.max(0, e.pageY - target.outerHeight()) }) .toggle() .siblings(".fan_chart_menu").hide(); }); jQuery(".fan_chart_menu") .on("click", "a", function(e) { e.stopPropagation(); }); jQuery("#fan_chart") .click(function(e) { jQuery(".fan_chart_menu").hide(); }); return "' . strip_tags($controller->root->getFullName()) . '"; })(); '); ?>

getPageTitle(); ?>

getFanStyles(), null, $controller->fan_style); ?>
generations, 2, 9); ?> %
error_message) { echo '

', $controller->error_message, '

'; exit; } if ($controller->root) { echo '
', $controller->generate_fan_chart('html', $fanChart), '
'; } echo '
';