Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Adding onclick script to a link in a passage on Harlowe - getting syntax errors

$
0
0
Hi all,

I am trying to add the below to a link in a passage on Harlowe. I either want the script to execute when that passage loads or when they click on a specific tag. I'm having trouble because I keep getting syntax errors. Anyone know how to solve this?

Here is the one that I did onclick, it's on an a tag but I would prefer to do it on a link in Harlowe:

<a href="www.google.com" Onclick="javascript:xapistatement('experienced','http://google/linked','something about this','this a description that I won't see right in the LRS')" >Clicked</a>

Anyone have any ideas on how to do this?

Viewing all articles
Browse latest Browse all 1844

Trending Articles