popups-how to make them modal?

himali
Community Member Posts: 37
Just to throw in a convoluted idea after having read Laura's comment.The idea is still the same that the user cannot progress until the popup is closed. A variable should still be used on the Close button. Just in case the user closes the window via other means, this would allow the user to continue.You could have a sequence of variable juggling behind the scenes. Set up the following actions:On the popup pageOn Timer: 1 sec, Modify Variable: intTimer, Value: 1, Add to VariableOn the popup launch (assume button)On Click, Show: Invisible ButtonThe Invisible Button covers up the navigation button.On the main page, create an Action Group "Check Timer Value"Modify Variable: intCheck, Value: VAR(intTimer), Set Variable ContentsModify Variable: intTest, Value: VAR(intTimer), Set Variable Contents, Delay: 3.0 secondsHide: Invisible Button, Delay: 5.0 seconds, Condition: intCheck Equal To VAR(intTest)On the main pageOn Timer: 6 sec, Run Action Group: Check Timer ValueThe end result is that the main page fires off your timer comparisons every 6 seconds. When that happens, intCheck is set to intTimer. Three seconds later, intTest is set to intTimer (which is +3 if the popup is open, +0 if not). Two seconds later, the Invisible Button goes away if intCheck = intTest. Naturally, a Close button on the popup will allow you to remove the Invisible Button (or whatever method you use) more elegantly. This just takes care of the popup being closed incorrectly and not stranding your students.It's convoluted as heck, but it'll get the job done.KevinPS, I tested this out on a dummy title, so if this doesn't make sense, PM me your e-mail address, and I'll send you the AWT. Edited By: Kevin Elmore on 2008-12-1 14:7:38
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 327 CenarioVR®
- 194 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products