GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JQuery::ClickMenu(3) User Contributed Perl Documentation JQuery::ClickMenu(3)

JQuery::ClickMenu - A clickable menu

Version 1.00

JQuery::ClickMenu is a desktop style menu.

    use JQuery;
    use JQuery::ClickMenu ; 
 my $list =<<EOD;
 File(f)
  Menu1
  sep(s)
  Menu2
 Options(f)
  Menu1
  sep(s)
  Menu2
  SubMenu(f)
   Submenu1
   Submenu2
 EOD

 my $clickmenu = JQuery::ClickMenu->new(list => $list, 
                                  id => 'myclickmenu',
                                  headerMenu => 1,
                                  separator => '/',
                                  addToJQuery => $jquery,
                                  rm => 'MyClickMenu',
                                  remoteProgram => '/cgi-bin/jquery_clickmenu_results.pl') ; 
 my $html = $clickmenu->HTML ;
 my $html = $tree->HTML ;

ClickMenu displays a menu in desktop format

The simplest way to present the data is in the format shown above. Each indentation represents another level. The letters in brackets stand for

f
A folder or node
s
A separator line between items
list
The list in the format show above
id
The css id of the element
separator
When an item is pressed, the it and all ancestors are concatenated and sent to the calling program. The item called 'data' contains just the data as shown at the leaf or node. 'path' gives the whole path, each element being separated by the separator.

In other words, you might get data=myfile, and path=dir/dir1/dir2/myfile

addToJQuery
The JQuery container
rm This is the runmode to be used when running an external program
remoteProgram This is the name of the remote program to be used when an item is pressed.
headerMenu
Sets the menu flush at the top with the following css:

        position: fixed;
        top: 0;
        border: 0;
        width: 100%;
    

new
Instantiate the object
HTML
Produce the HTML code
HTMLControl Produce the HTML code for the control

Peter Gordon, "<peter at pg-consultants.com>"

Please report any bugs or feature requests to "bug-jquery-taconite at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JQuery>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc JQuery

You can also look for information at:

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/JQuery>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/JQuery>

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=JQuery>

  • Search CPAN

    <http://search.cpan.org/dist/JQuery>

Copyright 2007 Peter Gordon, all rights reserved.

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

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.