Index: lams_central/web/author.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/author.jsp,v diff -u -r1.5 -r1.6 --- lams_central/web/author.jsp 10 Feb 2006 02:32:55 -0000 1.5 +++ lams_central/web/author.jsp 28 Feb 2006 02:33:03 -0000 1.6 @@ -111,13 +111,16 @@ alert ("Why not?") } -function openPopUp(args){ +function openPopUp(args, title, h, w, resize, status, scrollbar){ if(thePopUp && thePopUp.open && !thePopUp.closed){ thePopUp.focus(); + }else{ //mozilla seems to want a full url - args = getHostURL()+args; - thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); + + var args = getHostURL()+args; + thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+""); + //thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); } } @@ -131,7 +134,7 @@ } var learnWin = null; -function openPreview(sessionId) { +/*function openPreview(sessionId) { //debug: To check we are gettin a session Id to open var welcomeLearnerOpen = false; previewSessionId = sessionId; @@ -144,7 +147,7 @@ learnWin.focus(); -} +}*/ function openFilePopUp(args){