|
The Articulate Community Forums have moved! Head over to E-Learning Heroes, your new Articulate community site, where you'll find the new forums and a whole lot more! Signup is free. The forums you see here will remain open for browsing, but are no longer open to new posts. |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
# 1 | ||
|
Member
Join Date: Apr 2010
Posts: 4
|
I have implemented a php, mySQL and javascript solution from the files found on the forums. I have a working version but I am trying to figure out a way to determine if a user clicks the email results button versus just closing the browser. I want to have different code executed if the user closes the browser (save their data and not send an email) versus if they click the send email results button (save their data, send them an email and display a results page).
I am using onunload and onbeforeunload events (I know they don't work in all browsers) to check if the browser is closed, however clicking the email results button also fires the onunload event. Does anyone know if there is a way in the quiz.js file to determine if the email results button is clicked? Thanks in advanced for any help or ideas. Jerry |
||
|
|
|
|
# 2 | ||
|
Moderator
![]() Join Date: May 2009
Location: Phoenix, AZ
Posts: 1,980
|
Hey Jerry,
That's a really great question and honestly, I'm not sure. Would you mind reposting this question to our new forums? You'll likely find a better response there since that's where most of the users are now. New forums: E-Learning Heroes Thanks! David
__________________
Learn to be an E-learning Hero in Articulate's new community: E-Learning Heroes Learn to build a course from the ground up, find detailed product tutorials, and download course assets including icons, graphics, templates and more! (These forums are closing 2/22) |
||
|
|