Exponent v2.7.2

block.pop.php

Table of Contents

smarty_block_pop()  : mixed
Smarty {pop} block plugin

Functions

smarty_block_pop()

Smarty {pop} block plugin

smarty_block_pop(array<string|int, mixed> $params,  $content, Smarty &$smarty,  &$repeat) : mixed

Type: block
Name: pop
Purpose: Set up a pop block

Parameters
$params : array<string|int, mixed>

based on expJavascript::panel() 'id' to differentiate popups 'width' width of popup, defaults to '300px' 'type' id type of popup, defaults to 'info', also 'error' & 'alert' 'buttons' text string of 2 button names separated by ':' 'title' title of popup 'close' should popup have a close button (x), defaults to true 'trigger' what object to base event trigger on, defaults to 'selfpop' which displays when popup is ready 'on' what 'event' to display popup, defaults to 'load', or 'click' if 'trigger' is set 'onnogo' what url to browse to when the 'no' button is selected 'onyesgo' what url to browse to when the 'yes' button is selected 'fade' seconds duration of popup 'fade' in/out, defaults to false 'modal' should the popup be 'modal', defaults to true 'draggable' should the popup be 'draggable', defaults to false

$content :
$smarty : Smarty
$repeat :
Tags
subpackage

Block

Return values
mixed

Search results