Community forum for knowledge and support

Updated 11 months ago

Announcement Component With External Links

At a glance

This may be a question for a weblfow forum but I thought I'd try here first. I have an announcement component from Relume with links for instagram and facebook. I'm required to add a "you are leaving this site message" to any link where the user leaves our site and on any given page I could have like 8-9 links out. Typically I would add a short js script to the html page and then add something like onClick="return show_confirm(); to the end of the URL where they user needs to go. Is something simple like this not doable in WF?

M
1 comment

I would think if you tried to target an ID or class instead of having to add that onclick attribute directly to a link, you should be able to add the same JS you would normally, to make such a popup come up - you would put that either within the global custom code section under site settings or within a single page under page settings.

Add a reply
Sign up and join the conversation on Slack