--- loncom/html/res/adm/pages/menu.html 2004/08/13 20:30:01 1.113
+++ loncom/html/res/adm/pages/menu.html 2005/08/02 20:40:30 1.117
@@ -4,7 +4,7 @@ The LearningOnline Network with CAPA
Remote Control
//
-// $Id: menu.html,v 1.113 2004/08/13 20:30:01 albertel Exp $
+// $Id: menu.html,v 1.117 2005/08/02 20:40:30 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -261,21 +261,22 @@ function go(url) {
}
function gonav(url) {
- if (w_loncapanav_flag != 1) {
- go(url);
- } else {
+ if (w_loncapanav_flag == 1) {
navwindowcheck();
statuslocked=0;
- this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
- if (url!='' && url!= null) {
- this.document.server.action="http://"+clienthost+url;
- this.document.server.target="loncapanav";
- this.document.server.postdata.value='';
- this.document.server.command.value='';
- this.document.server.url.value='';
- this.document.server.postsymb.value='';
- this.document.server.submit();
- }
+ this.document.server.target="loncapanav";
+ } else {
+ this.document.server.target="loncapaclient";
+ }
+ alert("tartget is"+this.document.server.target);
+ this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
+ if (url!='' && url!= null) {
+ this.document.server.action="http://"+clienthost+url;
+ this.document.server.postdata.value=currentURL;
+ this.document.server.command.value='';
+ this.document.server.url.value='';
+ this.document.server.postsymb.value=currentSymb;
+ this.document.server.submit();
}
}
@@ -287,7 +288,7 @@ function gopost(url,postdata,makenewwin)
if (makenewwin) {
var LONcomWin=window.open("http://"+clienthost+"/adm/rat/empty.html",
'LONcom',
- "height=400,width=540,"+
+ "height=600,width=600,"+
"scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0");
this.document.server.target='LONcom';
} else {
@@ -405,13 +406,13 @@ function edit_bookmarks() {
function catalog_info() {
go('');
w_LONcatInfo_flag=1;
- loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"cat",'height=320,width=280,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no');
+ loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"cat",'height=420,width=480,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no');
}
function chat_win() {
go('');
w_LONchat_flag=1;
- lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=320,width=280,resizable=yes,location=no,menubar=no,toolbar=no');
+ lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=420,width=480,resizable=yes,location=no,menubar=no,toolbar=no');
}
// -->
@@ -484,6 +485,9 @@ function showdisplay(utext,ltext) {
}
//-->
+
+return '';
+