Hi,
I got a weird problem,that i'd be really grateful for some help, i am using a textfield and need to have 2 links in my html data
Code
<data name="intro_text">
<p>Explore the house to find out more about what we do at <a href="http://www.website.co.uk" target='_blank'> website </a> and our See the <a href="event:action(shs-link);">other website</a></p>
</data>
An ordinary hyperlink will not work, so am looking for other ways. I know I can set onclick openurl on the textfield plugin, but I cant in this case because i have 2 links, and I really dont want to split the text into 4 textfields just to make 2 links to other html webpages, but afriad that is my only option left.
SO far i have tried
Code
<a href="event:action(shs-link);">website</a>
<action name="shs-link">
openurl(http://www.mywebsite.org.uk,_blank);
</action>
as well as using a js function linked to my html page to open it
have also tried this
and this
and many other ways. Any ideas how i can use an onclick event on the links in html data I have searched the forum also and cant find an answer.
Any advice, very appreciated
best wishes,
tom