Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/newQuestionBox.jsp,v diff -u -r1.13 -r1.13.6.1 --- lams_tool_laqa/web/authoring/newQuestionBox.jsp 30 Nov 2008 23:56:40 -0000 1.13 +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp 25 May 2009 00:29:54 -0000 1.13.6.1 @@ -23,193 +23,193 @@ <%@ include file="/common/taglibs.jsp"%> - - <%@ include file="/common/header.jsp"%> - <%@ include file="/includes/jsp/qaWizardCommon.jsp"%> - - - - + - - - + var heightOffSet = 0; + $(document).ready(function() { + $("a#gwizard").click(function() { + $("div.wizard").toggle(); + + if (heightOffSet == 0) + { + heightOffSet = document.getElementById('wizardDiv').offsetHeight; + } + window.top.resizeIframe(heightOffSet,0); + heightOffSet = heightOffSet * -1; + }); + }); + + // Inserts the question template into the new question fckeditor area + function useQuestionTemplate(aMenu) { + if (aMenu.selectedIndex > 0) { + var obj = document.getElementById("newQuestion"); + obj.value += aMenu.options[aMenu.selectedIndex].text; + var oEditor = FCKeditorAPI.GetInstance("newQuestion"); + oEditor.InsertHtml(aMenu.options[aMenu.selectedIndex].text); + } + } + + + + function setUpTripleMenu() {} + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + -
- -
+
+ +
- + -
- -
- - - - - - - - - -
- +
+ +
+ + + + + + + + + +
+