| Line 1... |
Line 1... |
| 1 |
/*
|
1 |
/*
|
| 2 |
***** HELP TIPS ****
|
2 |
***** HELP TIPS ****
|
| - |
|
3 |
*
|
| - |
|
4 |
* Note: Use of this file is deprecated
|
| - |
|
5 |
* Preferred technique is to define page-specific tips within the page using the tips
|
| - |
|
6 |
* See _form_new_version_page.asp for an example
|
| - |
|
7 |
* Can still be used for tips that are used in multiple locations
|
| 3 |
*/
|
8 |
*/
|
| 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 |
|
9 |
|
| 17 |
var formTips = new TipObj('formTips');
|
- |
|
| 18 |
with (formTips)
|
10 |
with (formTips)
|
| 19 |
{
|
11 |
{
|
| 20 |
tips.group = newTip('page.scrollX()', 'page.scrollY()', 150, 10, 'Base View','Move package to a different Base View by selecting it from a dropdown list.<br>' +
|
12 |
tips.group = newTip('page.scrollX()', 'page.scrollY()', 150, 10, 'Base View','Move package to a different Base View by selecting it from a dropdown list.<br>' +
|
| 21 |
'To move package to a new Base View, click on <img src="images/i_new_group.gif" width="17" height="17" align="absmiddle">');
|
13 |
'To move package to a new Base View, click on <img src="images/i_new_group.gif" width="17" height="17" align="absmiddle">');
|
| 22 |
tips.depsant = newTip(-150, 0, 150, 10, 'DEPENDENCIES','Paste in <b>sandbox</b> tags.');
|
14 |
tips.depsant = newTip(-150, 0, 150, 10, 'DEPENDENCIES','Paste in <b>sandbox</b> tags.');
|
| Line 126... |
Line 118... |
| 126 |
tips.ad_description = stdTip(200, 'DESCRIPTION', 'A description of the access control element.' );
|
118 |
tips.ad_description = stdTip(200, 'DESCRIPTION', 'A description of the access control element.' );
|
| 127 |
tips.ad_access = stdTip(200, 'Project Independent Permissions', 'These are the basic permissions before project specific control elements have been applied.' );
|
119 |
tips.ad_access = stdTip(200, 'Project Independent Permissions', 'These are the basic permissions before project specific control elements have been applied.' );
|
| 128 |
tips.ad_data = stdTip(200, 'Project Specific Permissions', 'These are the permissions after project-specfic control elements have been applied.' );
|
120 |
tips.ad_data = stdTip(200, 'Project Specific Permissions', 'These are the permissions after project-specfic control elements have been applied.' );
|
| 129 |
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.' );
|
121 |
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.' );
|
| 130 |
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.' );
|
122 |
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.' );
|
| 131 |
|
- |
|
| 132 |
|
- |
|
| 133 |
|
- |
|
| 134 |
// TIP TEMPLATE
|
- |
|
| 135 |
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
|
- |
|
| 136 |
'<tr><td><table bgcolor="#FFFFCC" cellpadding="2" cellspacing="0" width="100%" border="0">' +
|
- |
|
| 137 |
'<tr><td height="%3%" class="tipClass">%4%</td></tr></table></td></tr></table>';
|
- |
|
| 138 |
}
|
123 |
}
|