Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== diff -u -r194d8a673fc1b8879a57d47ffb81e13823e93ff3 -racc8d2acf5b6b0002e0c8129947040a779ab4077 --- lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 194d8a673fc1b8879a57d47ffb81e13823e93ff3) +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision acc8d2acf5b6b0002e0c8129947040a779ab4077) @@ -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() {} + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + -
- -
+
+ +
- + -
- -
- - - - - - - - - -
- +
+ +
+ + + + + + + + + +
+