--- rat/client/parameter.html 2022/05/27 17:58:03 1.64.2.5.2.2 +++ rat/client/parameter.html 2022/07/08 16:38:03 1.64.2.5.2.3 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.64.2.5.2.2 2022/05/27 17:58:03 raeburn Exp $ +// $Id: parameter.html,v 1.64.2.5.2.3 2022/07/08 16:38:03 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -396,8 +396,8 @@ function validateInterval() { for (var i=0; i= 1) { dlinkmenusdivsty = 'inline-block'; } + if (dlinkexitRegExp.test(deeplinkvals[7])) { + linkexitparts = deeplinkvals[7].split(':'); + deeplinkvals[7] = linkexitparts[0]; + if (deeplinkvals[7] != 'no') { + dlinkexitdivsty = 'inline-block'; + if (!linkexitparts[1]) { + dlinkexittextval = 'Exit Tool'; + } else { + dlinkexittextval = linkexitparts[1]; + } + } + } } else { - deeplinkvals = ['off','unhide','full','res','','0']; + deeplinkvals = ['off','unhide','full','res','','0','_self','no']; } var deeplinkstate = new Array(); deeplinkstate = ['only','off','both']; @@ -1157,6 +1218,7 @@ function draw() { deeplinktarget = ['_self','_top']; var deeplinktargettxt = new Array(); deeplinktargettxt = ['Embedded','Not embedded']; + var deeplinkexit = ['yes','url','no']; tablestart('Deep-linked items'); choicewrite('Access status?'); choicewrite(''); @@ -1212,7 +1274,7 @@ function draw() { choicewrite(''); var possmenus = new Array(); - if ((pextra != '') && (pextra != null)) { + if ((pextra != '') && (typeof(pextra) != 'undefined')) { var lticRegExp = /^ltic_/; var ltidRegExp = /^ltid_/; var menusRegExp = /^menus_/; @@ -1348,6 +1410,27 @@ function draw() { choicewrite('>'+deeplinktargettxt[i]+''); } choicewrite(''); + choicewrite(''); + choicewrite('Exit Button?'); + choicewrite(''); + choicewrite('not in use'); + choicewrite(''); + choicewrite('in use, no redirect '); + choicewrite(''); + choicewrite('in use, redirect to URL'); + choicewrite(''); + choicewrite('Button text: '); + choicewrite(''); + choicewrite(''); choicewrite(''); } }