JavaScripts for Menu Functions

 

Expand/Collapse all Show/Hide All

The table below contains information about JavaScripts in the Common.js file that can be used for global functions.

These functions are used by the main menu system on Web pages using Microsoft Internet Explorer as the browser. Altering any of the scripts may cause unpredictable results. These functions are not for general use.

 

Expand/Collapse item  GoToLoc

Function

GoToLoc()

Purpose

This routine is called from the drop-down list menu and redirects the window to the item selected from the Menu Items Select list.

Parameters

None required.

 

Expand/Collapse item  Dropit

Function

dropit(event, menu) – Microsoft Internet Explorer Compatibility

Purpose

This routine either makes the drop-down menu visible or hidden depending on the state of the menu when the function is called. This function is called with the <A HREF> tag.

Parameters

event    The event that triggered the function.
menu    The menu object name.

Example

<A HREF="alternate.htm" class="mainmenu" onClick="dropit(event, ‘document.dropmenu’)"> Navigator</A>

 

Expand/Collapse item  dropit2

Function

dropit(event, menu) – Microsoft Internet Explorer Compatibility

Purpose

This routine either makes the drop-down menu visible or hidden depending on the state of the menu when the function is called. This function is called from the <SPAN> tags onClick event.

Parameters

menu    The menu object name.

Example

<span class=mainmenu onClick="dropit2(dropmen)">

 

Expand/Collapse item  hidemenu

Function

hidemenu(menu) – Netscape Compatibility

Purpose

This routine hides the drop-down menu.

Parameters

menu    The menu object name.

 

Expand/Collapse item  hidemenu2

Function

hidemenu2() – Microsoft Internet Explorer Compatibility

Purpose

This routine hides the drop-down menu.

Parameters

No parameters required.

 

For more information, see:

Using eBusiness Manager JavaScripts

JavaScripts for Global Functions