You are here

function theme_supersized_overlay in Supersized 8

Same name and namespace in other branches
  1. 7 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 = url($overlay['file path'] . '/' . $overlay['file']);
  return '<div id="supersized-overlay" style="background-image: url(' . $path . ');"></div>';
}