At the bottom of the HTML document
*/
function flyout($header, $content, $action) {
// Used for background dimming
echo "
";
// Div Start
echo "
";
// Header for the flyout, must be included
if (isset($header) && !empty($header)) {
echo "
".$header."
";
} else {
echo "
Header
";
}
// Flyout content, must be included!!!!
if (isset($content) && !empty($content)) {
echo "
".$content."
";
} else {
echo "
Description
";
}
// Flyout button, not required so must need more information when added
if (isset($action) && !empty($action)) {
echo $action;
}
// Exit button + Div End
echo "