Index: lams_central/web/author.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/author.jsp,v diff -u -r1.11 -r1.12 --- lams_central/web/author.jsp 14 Jun 2006 02:59:36 -0000 1.11 +++ lams_central/web/author.jsp 19 Jun 2006 02:49:47 -0000 1.12 @@ -112,15 +112,16 @@ alert ("Why not?") } -function openPopUp(args, title, h, w, resize, status, scrollbar){ +function openPopUp(args, title, h, w, resize, status, scrollbar, menubar){ if(thePopUp && thePopUp.open && !thePopUp.closed){ thePopUp.focus(); }else{ //mozilla seems to want a full url - var args = getHostURL()+args; - thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+""); + //var args = getHostURL()+args; + alert('Opening Preview url') + thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+",menubar="+menubar+""); //thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); } } @@ -134,6 +135,12 @@ } +function openPreview(args, title){ +var thePopup = null; + //alert('Opening Preview url') + thePopup = window.open(args,title,"height=600, width=800, resizable, scrollbar=yes, menubar=no, status=yes, toolbar=no"); + +} var learnWin = null; /*function openPreview(sessionId) { //debug: To check we are gettin a session Id to open @@ -224,7 +231,6 @@