Thanks to John Kruiver of Redstar we have Greybox code working on Robanostra.
Greybox is an AJAX set of scripts to have nice pop-ups wich don’t open in the browser, but in a nice window customised with CSS.
It supports html, images, movs and swf files among others and it looks like this:
Swf - Launch Bombjack*
html - Launch TODO
Download the .zip file from here and upload the content in the WP root directory. Then add this lines in your index.php, page.php, etc ‹head› tag:
‹link href="greybox/greybox.css" rel="stylesheet" type="text/css" media="all" /›
//GreyBox configuration //Use animation?
‹script›
var GB_ANIMATION = false;
var GB_IMG_DIR = "greybox/";
//Clicking on the transparent overlay closes the GreyBox window?
var GB_overlay_click_close = false;
‹/script›
‹script type="text/javascript" src="greybox/AmiJS.js" ›‹/script›
‹script type="text/javascript" src="greybox/greybox.js"›‹/script›
You can run the script wherever you want by using this line:
‹a href="#" onclick="return GB_show('Google', 'http://google.com', 470, 600)"›Launch Google‹/a›
*Bombjack courtesy by AdamoGames.