|new KEY, VALUE, KEY, VALUE...||
Options are passed as name/value pairs:
options - Hash reference of layers and labels for the <SELECT>. See
layer_callback - subroutine reference to create each layer. The layer name
selected_layer - (optional) initially selected layer
form_name - (optional) Form name to copy values from. If not supplied, no
form_action - Form action
form_elements - (optional) Array reference of form fields to copy from the
fixup_callback - (optional) subroutine reference, returns supplimentary
size - (optional) size of the <SELECT>, default 1.
html_beween - (optional) HTML between the <SELECT> and the layers.
under_position - (optional) specifies the positioning of any HTML appearing after the widget. static, the default, positions subsequent HTML underneath the current layer (or immediately under the select box if no layer has yet been selected), reflowing when layers are changed. absolute calculates the size of the largest layer and keeps the subsequent HTML in a single position underneath it. Note that absolute works by positioning subsequent HTML in a <DIV>, so you should probably close it yourself with a </DIV> before your </HTML> end tag. absolute is a bit experimental and might have some quirks with truncating the end of the page under IE; you might have better results by just making all your layers the exact same size at the moment.
|html||Returns HTML for the widget.|
Ivan Kohler <email@example.com>
Copyright (c) 2002-2005 Ivan Kohler All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
All the different form_* options are unnecessary, could use .type to auto-sense
Could give you a function or something for copying variables out of the layered forms.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 132: =cut found outside a pod block. Skipping to next block.
|perl v5.20.3||SELECTLAYERS (3)||2007-02-08|