triggers on mobile devices such as android or iPhone

Sep 14, 2015

Hi all.

I have a story with double-click triggers that work great on mac/windows using IE, chrome and safari.... nice...

however i now want to explore options to make the same project also have the triggers work on both android and iPhone ios.   the site basically works except all of the triggers that work on pc/mac, none of them work on iPhone or android.   i assume a double tap with your finger is the same as a double click.  unfortunately the triggers do not work.   i see the items the triggers are attached too ( a checkbox ).  a single tap puts a check, as expected, the double tap which works on the PC has no effect on the mobile device.  any thoughts anyone?

 

thanks, Neal

13 Replies
neal vadekar

a little more detail... it is triggers that do not seem to work only when accessing the html5 version of the project..... all my triggers work fine on pc/mac when i start story.html which is then using the flash version of the site.... but when I start the html5 version of this project from my web server, none of the triggers work.   so android and iPhone and pc/mac all have the same problem using html5, but when flash version of the site is being used, all the triggers work beautifully.   can someone please help get the trigger functionality to work from html5?  is this a common problem?

neal vadekar

after more testing her is the issue is fully revealed.

an html5 story (without AMP) does not work with any single or double click triggers on checkboxes, while the same story in flash does.  for my pilot project to work, i need a double click or right click trigger to work on a quiz multi response checkbox in html5, not just flash.  right click does not seem to work on mac, where double click works on both mac and pc via flash.  no checkbox click orientated triggers work on html5 for mac,win or mobile.

can someone help me figure out a way to get a double click trigger to work on a multi response quiz checkbox?  this is the only way i have been able to get a well formatted text hint to a test taker for each possible multi response answer.  i am using jQuery dialog to do it... it is lovely,,, but i must have it triggered by the multi response checkbox using a double click trigger.

thanks, Neal

neal vadekar

thanks, I had already read that posting, it is not a similar issue as I am not expecting to use AMP.  this is a straight issue with html5 and triggers on checkboxes. I have attached a sample story that clearly illustrates this issue. please advise.  thank you.

Neal

Ashley Terwilliger-Pollard

Hi Neal,

Thanks for sharing the file here - the Javascript coding is not something we can assist with but it should work in HTML5 per our documentation here. Also, you mentioned a double click which is supported in HTML5 as well when set up as a trigger. Since you're using a checkbox question type, perhaps it's not able to capture the second click as that would be unselecting the box? Have you looked at using your own custom shapes/states and a trigger that would show it in a "selected" state when the user double clicked? 

neal vadekar

Hi Ashley.   The latest v2 version of the story I just uploaded in this message shows that double click triggers on checkbox's work using flash, but not when in html5.  I believe this should work with html5 according to your support documents.  As far as button down state triggering javascript, it works some times and not others.   Attached is a new version of this story.  It clearly shows both checkbox clicks, double clicks, state change as well as button state and clicks correctly triggering javascript.   In this stories case, all these triggers that worked in flash DO NOT work if you use the html5 version of the site.  they do not work on all platforms, PC, Mac, iPhone and android using IE, FF, Chrome, safari, mobile safari.  Please advise.  Neal

Ashley Terwilliger-Pollard

Hi Neal,

Thanks for sharing a copy of your file. I talked through this with another user of our team, and she confirmed that the double click trigger (meaning to change the state of an object when an item is double clicked) worked for her as expected in Chrome/HTML5 but there is an open issue with our team for the iPad and Safari - but no documented issues with Android/Chrome (which is the supported set up). Also, since you're also using the Javascript element associated with the trigger I won't be able to assist with that portion. I will include this thread in the reported mention above about the iPad and Safari - and I'd also suggest in the meantime to look at using something other than the standard buttons and their associated states for the double click, and perhaps the double click trigger. 

neal vadekar

did it work with the story i provided?  or her own test?   pls be sure she tried my file as there could easily be a subtle difference in it that provokes the issue of html5 double click triggers not working on a mac/pc.  also please, there is no need to continue telling me you will not support javascript.  i am well aware of that, i am only asking that the invocation of the trigger be looked at

maybe you have another idea for me... :) the reason i need to double click a quiz checkbox is i need a hint dialog for each possible answer, and those answers must be randomised.  i wanted to use a marker, but the problem is I have found no way whatsoever to make the marker follow the random quiz response checkbox.   if i could have made a group out of the checkbox and the marker that would have worked, but unfortunately the response checkboxes are not permitted to be members of such a group.  do you have any thoughts on what else i could try to achieve my objective?

the double click works quite well,,, with the side issue that you get a click status change trying to get the help hint... but i could live with that if they always worked with html5.

i eagerly await your thoughts on this

Ashley Terwilliger-Pollard

Hi Neal,

Since we don't know what the JS was triggering, there isn't a way for us to test that element and it seemed that was associated with your double click set up. The double click trigger as I mentioned was reported to our team for the iPad/Safari but Chrome worked normally in a new file which was set up based on not being able to look into the JS elements. 

I'm not sure of another set up for this particular need - but perhaps some of our other users who have a better background in design and how to best accomplish your needs in Storyline will be able to assist here. 

Emily Ruby

Hi Neal,

I did look at your file, however I could not get any of the buttons to trigger. Since your file uses JavaScript in the trigger, I created a new test file using a simple double click trigger to focus on the trigger itself, as JavaScript is not supported.

Within this test file, the double click did work as designed on Chrome on a PC using the HTML5 version. It did not work on iOS using an iPad. This issue is known and is currently in the hands of our QA team. Hopefully other community members can assist in ideas for you set up, as we cannot assist with JavaScript elements of your course.

This discussion is closed. You can start a new discussion or contact Articulate Support.