The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JavaScript::Framework::jQuery::Plugin::FilamentGrpMenu - Support for Filament Group jQuery menu plugin

SYNOPSIS

 my $plugin = JavaScript::Framework::jQuery::Plugin::FilamentGroupMenu->new(
    target_selector => '#menu-items',
    content => '$("#menu-items").html()',
    options =>
 'posX : "left",
 posY : "bottom",
 directionV : "down",
 showSpeed : 200,
 backLink : "false"'
 );

 print $plugin->cons_statement;

 # $('#menu-items').menu({
 # content: $("#menu-items").html(),
 # posX: "left",
 # posY: "bottom",
 # directionV: "down",
 # showSpeed: 200,
 # backLink: false
 # });

DESCRIPTION

This module implements the interface required to generate a jQuery constructor for the Filament Group jQuery menu plugin.

http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/

CONSTRUCTOR PARAMETERS

The new constructor, provided automatically by Moose (in case you're looking for it and can't find it) is called from &JavaScript::Framework::jQuery::construct_plugin. The arguments passed to this subroutine are validated by this module.

content_from

Required

A string representing a jQuery selector expression.

options

A string representing a JavaScript object literal.

cons_statement( )

Return the text of the JavaScript statement that invokes the jQuery plugin constructor.

AUTHOR

David P.C. Wollmann <converter42 at gmail.com> =head1 COPYRIGHT & LICENSE

Copyright 2009 David P.C. Wollmann, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

DISCLAIMER

The author is not affiliated with Filament Group, Inc.