|
|
# 11 | ||
|
Member
Join Date: Sep 2008
Posts: 1
|
Quote:
case "ART_CloseAndExit": if (!g_bLMS) { alert('Hello') //top.window.close(); } break; I just inserted the alert so that it wouldn't close the window. It seems as if once you publish through Presenter it's Javascript takes precedence over the javascript in the quizmaker.html file. PITA!! |
||
|
|
|
|
# 12 | ||
|
Member
Join Date: Dec 2008
Posts: 34
|
Anyone know how to do this in Articulate 09.....the close functions you talk about here are now in a js file....I tried your workaround by adding an alert to the CloseWindow function but doesn't seem to work,...please help...thanks
|
||
|
|
|
|
# 13 | ||
|
Member
Join Date: Jun 2009
Posts: 11
|
Solution Summary:
Because Articulate developers did not use "_lockroot" by inserting a custom swf on an end page, we can write custom code to turn the finish button invisible. Solution: 1. Create a new flash movie 2. In the actions panel insert the following code: _root.g_mcFrame.mcFinish._visible = false; 3. Publish 4. Using the slide view on an endpage in Quizmaker, choose to insert a swf, browse for your custom code and insert. 5. Publish your quiz. Note: the object (_root.g_mcFrame.mcFinish._visible = false was found by making a flash movie that simply loads a quizmaker quiz.swf to the root, then I used the flash debug options to list all objects.Hope this helps, and also inspires some more exploration of the endless possibilities of this exploit! (note: the zipped SWF is attached to this post) Last edited by beeneeb : 07-16-2009 at 02:46 PM. |
||
|
|
|
|
# 14 | ||
|
Moderator
![]() Join Date: Feb 2006
Location: Boulder, CO
Posts: 934
|
Sick jdallas. Obviously we don't support this, but you are a very smart man. Thanks for posting this.
__________________
Dave Mozealous Quality Assurance Manager Visit my blog @ http://www.mozealous.com You should follow me on twitter here. |
||
|
|
|
|
# 15 | ||
|
Moderator
![]() Join Date: Feb 2006
Location: Boulder, CO
Posts: 934
|
P.S. Feel free to upload the SWF that you created to this thread. I think a lot of people don't have Flash, so if the SWF was here I think it would help people out.
__________________
Dave Mozealous Quality Assurance Manager Visit my blog @ http://www.mozealous.com You should follow me on twitter here. |
||
|
|
|
|
# 16 | ||
|
Member
Join Date: Jun 2009
Posts: 11
|
Last edited by jdallas : 07-16-2009 at 02:46 PM. |
||
|
|
|
|
# 17 | ||
|
Member
Join Date: Jun 2009
Posts: 3
|
Thanks for the zip! I'm creating standalone quizzes without Presenter, and got the Flash to work in Quizmaker 09, but the Finish button appears a few seconds on page load and then disappears. I placed the Flash on the Pass/Fail Results screens. Is there something else I need to do to prevent Finish from appearing on page load?
|
||
|
|
|
|
# 18 | ||
|
Member
Join Date: Oct 2009
Posts: 2
|
jdallas, is there a way to use the remove finish button code to remove the Retry Quiz button once the user has passed? If there is a way to do this, do you know the name of the movieclip for this Retry Quiz button?
|
||
|
|
|
|
# 19 | ||
|
Moderator
![]() Join Date: Feb 2006
Posts: 7,881
|
Quote:
Remove Retry Quiz button in Presenter ‘09 – Articulate Presenter ‘09 Knowledge Base
__________________
Justin Wilcox Customer Support Manager Articulate - Empowering Rapid E-Learning Tweet me here. |
||
|
|
|
|
# 20 | ||
|
Member
Join Date: Oct 2009
Posts: 2
|
Justin, thanks for replying but I need to allow the user to take the quiz more than once if they fail as well. So changing the setting to just allow the user to take the quiz just once will not help me. I would like to remove the retry quiz when the user passes the quiz, but since I have it set to allow them to take the quiz a total of 3 times it does this for both the pass and fail screens. Is there a way to do that?
Thanks, jermit82 |
||
|
|