function theme_supersized_overlay in Supersized 7
Same name and namespace in other branches
- 8 supersized.module \theme_supersized_overlay()
Theme fuction for overlay.
1 theme call to theme_supersized_overlay()
- supersized_run in ./
supersized.run.inc - Start supersized with Supersized plugin.
File
- ./
supersized.module, line 214 - Supersized module file.
Code
function theme_supersized_overlay($variables) {
$overlay = supersized_overlay($variables['overlay_key']);
$path = '/' . $overlay['file path'] . '/' . $overlay['file'];
return '<div id="supersized-overlay" style="background-image: url(' . $path . ');"></div>';
}