| 3938 |
dpurdie |
1 |
/*
|
|
|
2 |
***** HELP TIPS ****
|
|
|
3 |
*/
|
|
|
4 |
// stdTip: width, Title, Body
|
|
|
5 |
function stdTip( w,t,b) {
|
|
|
6 |
return newTip(10,0,w,10,t,b);
|
|
|
7 |
}
|
|
|
8 |
// newTip( x,y,width,height, title, body)
|
|
|
9 |
function newTip(x,y,w,h,t,b) {
|
|
|
10 |
var tip = new Array(x,y,w,h,10);
|
|
|
11 |
tip[4] = '<img src="images/i_help.gif" width="12" height="12" hspace="2" align="absmiddle">' +
|
|
|
12 |
t + '<hr size="1" noshade>' + b;
|
|
|
13 |
return tip;
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
var formTips = new TipObj('formTips');
|
|
|
18 |
with (formTips)
|
|
|
19 |
{
|
|
|
20 |
tips.domain_user = newTip(10, 0, 150, 10, 'DOMAIN USER','Authenticates the username against a Domain. This means that you can use your workstation login.');
|
|
|
21 |
tips.ad_action = stdTip(200, 'ACTION', 'The internal name of the access control element.' );
|
|
|
22 |
tips.ad_description = stdTip(200, 'DESCRIPTION', 'A description of the access control element.' );
|
|
|
23 |
tips.ad_access = stdTip(200, 'Project Independent Permissions', 'These are the basic permissions before project specific control elements have been applied.' );
|
|
|
24 |
tips.ad_data = stdTip(200, 'Project Specific Permissions', 'These are the permissions after project-specfic control elements have been applied.' );
|
|
|
25 |
tips.ad_active = stdTip(200, 'ACTIVE', 'The associated action should be available.<br>Controls do not need to visible for an action to be available.' );
|
|
|
26 |
tips.ad_visible = stdTip(200, 'VISIBLE', 'The associated action may have a control button that is shown to the user.<br>If the action is not active then the action should not be available to the user.' );
|
|
|
27 |
|
|
|
28 |
// TIP TEMPLATE
|
|
|
29 |
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
|
|
|
30 |
'<tr><td><table bgcolor="#FFFFCC" cellpadding="2" cellspacing="0" width="100%" border="0">' +
|
|
|
31 |
'<tr><td height="%3%" class="tipClass">%4%</td></tr></table></td></tr></table>';
|
|
|
32 |
}
|