Web Components Factory
Article Base
Author Options
New account
Read articles
Manage Articles
Submit Category
Terms of service

Client Products
Calendar
Time Selector
Text Link
Marks System
Menu
Menu Bar

Server Products
Sitemap Gen BETA
Photo Viewer
Poll Builder
Counter
Guest Book
Where am i?

LinkExchange
Directory
Link Exchange


My Collections
Description
ScreenShots
Download
Buy
Register

We received 385434 visits from 14626 distinct visitors, since 04-08-2007
From:
United States2162
China405
India367
Germany330
United Kingdom249
Canada190
Korea, Republic of182
Portugal166
Sweden137
France136
Romania123
Netherlands109
Spain98
Malaysia94
Russian Federation85
Italy83
Brazil82
Australia71
Philippines71
Turkey48
Rest of world: 9438

Sample|Download|Installation Process|How it works

Sample

Here is a sample of what you can do with comMenu:




Valid HTML 4.01 Transitional


Download

DOWNLOAD comMenu

1) We thank you to fill the data below previous to make the download

Country
Name
Email

Your data will never be transmited to any other person or external entity under no circunstances and will only serve statistic purposes!


2) Click the button below in order to proceed with the download.


3) We would like to remind you of some opportunities for contribution. I provided to you at no charge, and you have every right to redistribute the software. I depend on people willing to contribute their time and support to the project to ensure that my work remains free and available at no cost.

You can help. The basic options consist of Contributing Work or if you have no time Donating Funds.

We appreciate your support for the project.


Installation Process

How to install.

Congratulations, you’ve just downloaded the comMenu.zip file, which contains a sample set of file that will allow you to quickly set up your own Menu on your server and web pages.

This process will detail the steps needed to install and use comMenu on your web server.

After downloading the comMenu.zip file, the included files have to be extracted at the location specified by the user on the server and have to respect the following hierarchy.

The comMenu.zip file contains the following files:

  • comMenu.htm (sample html file that will display the comMenu component),

  • comMenuD.js (set of javascript functions that will build the comMenu component. This file has to be placed into the comMenu folder),
  • comMenuP.js (set of parameters used to build the comMenu component. This file has to be placed into the comMenu folder),
  • Sample set of images (these images have to be placed in the images folder).

If for some reason the comMenu.zip file would be damaged or you don’t have winzip or equivalent installed on your computer, please copy the following files to the respective folders as described above.

comMenu.htm

To copy the content, press CTRL+A then CTRL+C


comMenuP.js

To copy the content, press CTRL+A then CTRL+C


comMenuD.js

To copy the content, press CTRL+A then CTRL+C


How it works

Changing parameters.

First thing you should do in order to create a comMenu component on your page is to define the way it will look like on the page. For this, the parameter files offer you 2 sets of parameters:

  • General design parameters (which will define how it looks):

    • comMenu size and margins

      • PARAM['width']: total width of the comMenu component,
      • PARAM['margin']: margin defined for text inside each option.
    • Design parameters for the header

      • PARAM['font']: Font of the header,
      • PARAM['fontsize']: Size of the font of the header,
      • PARAM['fontcolor']: Color of the font of the header,
      • PARAM['bgcolor']: Background color for the header.
    • Design parameters for the options

      • PARAM['font2']: Font of the options,
      • PARAM['fontsize2']: Size of the font of the options,
      • PARAM['fontcolor2']: Color of the font of the options,
      • PARAM['bgcolor2']: Background color for the options.
    • Mouse action

      • PARAM['bgcolorover']: Color of option background when mouse is over,
      • PARAM['colorover']: Color for option text when moude is over.
    • Open/close icons

      • PARAM['folderopen']: image that represents opened folder,
      • PARAM['folderclosed']: image that represents closed folder.


  • Content parameters (which will tell what items to show)

    • Header and item content parameters:
      • Each header and item content must have the following format:
        • [
          ["Header text,0,open or close,",
              ["item text,1,item image location, page redirection"],
              [...]
            ],
          ],
          [...]
          ]

      • Note that last item or button description has no comma termination.

Your web file.

After parameterization of the comMenu component, the only work your web file will have to do is to draw the component according to your requirements. You can do that as follow:

  1. Include in the header of your web page, the 2 comMenu js files comMenuD.js (procedure file) and comMenuP.js (parameter file) as follow:

    <Script type="text/javascript" src="comMenu/comMenuP.js"></script>
    <Script type="text/javascript" src="comMenu/comMenuD.js"></script>
    […]
    <Script type="text/javascript" src="comMenu/comMenuDn.js"></script>

    Note that it is possible to include as many parameter files as necessary to have various menus in the same page.

  2. Define the comMenu control by calling the function createMenu.
    <Form name="tab">
    <Script type="text/javascript">createMenu(MENU2,PARAM2);</script>
    </Form>
    […]
    <Form name="tabn">
    <Script type="text/javascript">createMenu(MENU2n,PARAM2n);</script>
    </Form>

    Note that the function createMenu has 2 parameters:
    - Menu information variable that is defined in comMenuP.js (in the example MENU2),
    - Parameter information variables that are defined in comMenuP.js (in the example PARAM2).


Improve the component

Well, this component is far from being perfect, and if you have the will to improve it, nothing can prevent you to open the comMenuD.js file and dive in the code.

Home|Contacts|Privacy Policy

Recommend us
 
delicious delicious
stumbleupon stumbleupon
 

Sponsors
 
Free Downloads from download.com
 
Free Downloads from FreewareFiles
 
Free Downloads from SnapFiles.com
 
FilesLand.com
 
Free Downloads from Tucows
 
 
Russian site about Portugal