c:\export\olenmr\client\forcheckjs.htm Functions

7/24/2003 7:53:09 AM

Full Project List

top.js Functions

function menu_addItem(stype,sgif,sfunc,stext,stextmini,iheight,iwidth)
function menu_showIcon(i,islarge,thisicon,sbgc)
function menu_showIcons(islarge,thisicon,snoticons)
function topInfo()
function top_Menu(what,snoticons)
function getstyles()

   

file top.js  

view function menu_addItem(stype,sgif,sfunc,stext,stextmini,iheight,iwidth)
Adds an item to the menu bar on the top of every page by taking from an array the gif, function it calls, text the user will see, and height and width of the gif

parameters:

string

stype

string

sgif

string

sfunc

string

stext

string

stextmini

integer

iheight

integer

iwidth

function action:

Places a picture that when clicked runs a JavaScript command for a specific page witihin the site

function return:

NONE

called by:

calls:

cacheImage

   

file top.js  

view function menu_showIcon(i,islarge,thisicon,sbgc)
Sets the position and the border information for the icons

parameters:

integer

i

integer

islarge

string

thisicon

string

sbgc

function return:

return s;

called by:

menu_showIcons

calls:

jRef

   

file top.js  

view function menu_showIcons(islarge,thisicon,snoticons)
Sets up the icons based on the privilages of the user

parameters:

integer

islarge

string

thisicon

string

snoticons

function return:

return s;

called by:

login_writeHTMLTeam

main_writeHTML

top_Menu

calls:

team_allowAdmin

team_allowAnalysis

team_allowExperiment

team_allowHelp

team_allowMonitor

team_allowShowLog

team_allowSwitchTeams

menu_showIcon

   

file top.js  

view function topInfo()
returns HEADERINFO

function return:

{return TITLEINFO+HEADERINFO}

called by:

login_writeHTML

login_writeHTMLTeam

main_writeHTML

calls:

   

file top.js  

view function top_Menu(what,snoticons)

parameters:

string

what

string

snoticons

function return:

return menu_showIcons(0,what,snoticons);

called by:

admin_header

admin_write2

admin_writeHTMLFiles

analysis_writeHTML

setup_header

calls:

menu_showIcons

   

file top.js  

view function getstyles()

function return:

return s;

called by:

calls: