5 include('/elements/init_overlib.html')
7 include( '/elements/popup_link.html', { #hashref or a list, either way is fine
10 'action' => 'content.html', # uri for content of popup
11 'label' => 'click me', # text of <A> tag
14 'actionlabel => 'You clicked', # popup title
19 'closetext' => 'Go Away', # the value '' removes the link
23 % if ($params->{'action'} && $label) {
24 <A HREF="javascript:void(0);" onClick="<% $onclick %>"><% $label %></A>\
29 if (ref($_[0]) eq 'HASH') {
30 #$params = { %$params, %{ $_[0] } };
33 #$params = { %$params, @_ };
37 my $label = $params->{'label'};
38 my $onclick = include('/elements/popup_link_onclick.html', $params);