The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Widgets::Index::Javascript - Names of the javascript routines

SYNOPSIS

  use HTML::Widgets::Index::Javascript;

DESCRIPTION

The Index can render javascript so pop-up menus are shown.

my $javascript = HTML::Widgets::Index->new(); $javascript->set_onMouseOver('showMenu');

CONSTRUCTOR

  my $javascript = HTML::Widgets::Javascript->new(); # default

  my $javascript = HTML::Widgets::Javascript->new(
        onMouseOver => 'showMenu',
        # here you can add the rest of the functions, see below.
        # Usually the default is enough.
  );

DEFAULT JAVASCRIPT

  With the sources there is a .js file that will be suitable for
  most of you. You can write your own javascript functions if you
  need it.

FUNCTIONS

  • onMouseOver

  • onMouseOut

  • createLayer

  • endMenu

  • addItem

AUTHOR

Francesc Guasch - Ortiz , frankie@etsetb.upc.es

SEE ALSO

perl(1) , HTML:Widgets::Menu(1).