Forum Discussion
Javascript in Storyline 360
Depending on your browser, %0D%0A may work better than \n
Not sure what "no success" looks like, compared to what "success would look like, so I'm imagining that you mean nothing is happening. If that's the case, use the following Javascript debugging tool: alert ("message");
Place this anyplace in your js. If you see a message box with "message", the error is after the alert line. When js encounters an error, it stops at that point. Continually moving the Alert down through the script will allow you to isolate the line where execution fails.
One problem SL is known for is changing straight quotes and curly quotes. I don't know if that's a problem here, but dropping the script into Notepad, and copying it to the js pane, instead of entering it from the keyboard will cure that problem, if that's what it is.
Thanks - appreciate the help!
Cheers,
Cindy Bartrop
Instructional Designer/
Documentation Lead
rVox: 121-5608
direct: +1.778.331.5608
mobile: +1.604.315.6529
email: cbartrop@rbauction.com
9500 Glenlyon Parkway
Burnaby, BC, CA V5J 0C6
[cid:image001.png@01D7C5CD.AAA9A0D0]
Our Safety Commitment:
to send everyone home, every day,
the way they came to work
[Macintosh HD:Users:seabay:Desktop:f-ogo