Javascript mail function worked fine in SL2, but does not work in SL360. Can anyone help?

Mar 13, 2017

Hi all,

Recently I upgraded from storyline 2 to storyline 360. A fantastic improvement! I found out that a javascript mail function I used in my storyline 2 file didn't work anymore in storyline 360.

the javascript I use is:

var email="fill in your e-mail adress";

var subject="subject";

var body_start=new Array();





var body_txt=body_start[1] + body_start[2] + "%0D%0A%0D%0A" + body_start[3] + body_start[4] + "%0D%0A%0D%0A";

var mailto_link='mailto:'+email+'?subject='+subject+'&body='+body_txt;,'emailWin');


the javascript is linked to a button. So when user clicks, the javascript is activated and should open a e-mail window. However, it doesn't anymore. I tested it in IE11, Firefox latest version and Chrome latest version, and exported to LMS > HTML5 first with flash backup.

Can anyone please guide me in what I can do to fix the problem?

Thanks in advance! :)

Kind regards,


6 Replies