HTML5 Block Link - modifying it?

(Hi Walter!)

I’ve just tried Walter’s HTML5 Block Link action, on The Big Erns’ suggestion. It lets me wrap a link plus some attributes around a div, which is great. But I need to include an onclick attribute too. I’ve edited the action to give me an onclick field, and this works… if the data I add in the field doesn’t include any quotes. What I want to add uses single quotes, but this trips up this part of the action. If I edit the output by hand to include those, everything’s hunky-dory.

Any suggestions as to how to get the action to accept and pass through single quotes?

onclick="toggle_visibility('event-preview');"

k


actionsdev mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hang on… scratch that. It IS working!

I’m not sure why I had trouble before, but it’s working fine: single quotes are being passed through and the onclick is behaving just fine. :slight_smile:


actionsdev mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options