FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

Action On closing window

Action On closing window 
Author:  marcd    
Date: 10.03.2010 20:14:59
Hi,

Just something probably quite simple. I have a course that shows a certificate on completion if they click a button on the page. Some of the users however close the window using the exit button or the X, and they never get to see the certificate. Is there a way of checking when they close the window and if the status is complete to open a window with the certificate?

Thanks in advance
 
...
Re: (1) Action On closing window 
Author:  barend    
Date: 11.03.2010 00:24:33
I would start googling for 'javascript onunload' as in


Anyhow, this means after publishing you have to edit the published start.html and either add some javascript functions or a small external library.

Somewhere on this forum there is a thread about jumping to a page using javascript.

Another, simpler, solution might be to show the certificate immediatly after completion of the course.  
...
Re: (2) (1) Action On closing window 
Author:  Nick James    
Date: 12.03.2010 01:29:23
Have the window open for the module without the windows close button. Of course you'd have to add your own exit button but there are advantages.
For example you could add an 'are you sure pop' up before the module is finally closed, and for your certificate problem a 'open the certificate page before closing' pop up.
Then again ou might not think it worth the effort LOL  
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: