Dirk Lindner > MySQL-Admin-0.62 > HTML::Window

Download:
MySQL-Admin-0.62.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.62   Source  

NAME ^

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

SYNOPSIS ^

use HTML::Window qw(:all);

       my %parameter =(

              path   => "path to cgi-bin",

              style    => "style to use",

              title    => "title",

              server   => "http://servername",

              id       => $id,

              class    => min or max,

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

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

      windowHeader();

      print 'this is the content';

      windowFooter();

DESCRIPTION ^

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

This Module is mainly written for MySQL::Admin::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: lze;

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

MySQL::Admin::GUI CGI MySQL::Admin Template::Quick

AUTHOR ^

Dirk Lindner <lze@cpan.org>

LICENSE ^

Copyright (C) 2005 - 2009 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.

syntax highlighting: