NAME
JavaScript::Framework::jQuery::Plugin::Superfish - Support for jQuery Superfish plugin
SYNOPSIS
my $plugin = JavaScript::Framework::jQuery::Plugin::Superfish->new(
target_selector => 'ul.sf-menu',
options =>
'delay : 500,
animation : { opacity : "show" },
dropShadows : true',
use_supersubs => 1,
supersubs_options =>
'minWidth : 12,
maxWidth : 27,
extraWidth : 1'
);
print $plugin->cons_statement;
# $("ul.sf-menu").supersubs({
# minWidth: 12,
# maxWidth: 27,
# extraWidth: 1
# }).superfish({
# delay: 500,
# animation: { opacity : "show" },
# dropShadows: true,
# });
DESCRIPTION
This module implements the interface required to generate a jQuery constructor for the jQuery Superfish plugin.
http://users.tpg.com.au/j_birch/plugins/superfish/
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.
cons_statement( )
Return the text of the JavaScript statement that invokes the Superfish constructor.
AUTHOR
David P.C. Wollmann <converter42 at gmail.com>
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.