NAME

HTML::Window.pm - move-,resize-,collapse- and closeable Html Window.

SYNOPSIS

use HTML::Window qw(:all);

 my %parameter =(

        cgiBin   => "path to cgi-bin",

        style    => "style to use",

        title    => "title",

        server   => "http://servername",

        id       => $id,

        class    => min or max,

 );
$mod_perl = ($ENV{MOD_PERL}) ? 1 : 0;

initWindow(\%parameter) unless($mod_perl);

windowHeader();

print 'this is the content';

windowFooter();

DESCRIPTION

Produce a move-,resize-,collapse- and closeable Html Window.

This Module is mainly written for CGI::CMS::GUI.

But there is no reason to use it not standalone. Also it is much more easier

to update, test and distribute it standalone.

new()

my %parameter =(

       path    => "path to template",

       style    => "style to use",

       title    => "title

       server   => "http://servername",

       id       => $id,

       class    => min or max,

);

my $window = new  window(\%parameter);

set_style()

default: Crystal;

set_closeable()

default: 0;

set_resizeable()

default = 0;

set_collapse()

default = 0;

set_moveable()

default = 0;

set_title()

default = 0;

set_class()

default = 0;

initWindow()

my %parameter =(

         path   => "path to templates",

         style    => "style to use",

         title    => "title

         server   => "http://servername",

         id       => $id,

         class    => min or max,

         hidden   => '', #set the window hidden

);

initWindow(\%parameter);

windowHeader()

windowFooter()

getSelf()

see Also

CGI::CMS::GUI CGI CGI::CMS Template::Quick

AUTHOR

Dirk Lindner <lze@cpan.org>

LICENSE

Copyright (C) 2006-2008 by Hr. Dirk Lindner

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.