Forum Discussion
code blocks and links to other URLs by clicking on interactive word
I have created a code block where a card pops out of an envelop with a word on it. When people click the word I want it to open to an URL of our intranet but this doesn't seem to work. Any idea how to do this, I knwo I can use the button and other already existing features but would like to have it in the code block. Thanks
3 Replies
- AndrewBlemings-Community Member
Can you add more detail about what "doesn't seem to work" means? You didn't share your course so it seems as though we're to guess, and it could be for many different reasons.
- PhilMayorSuper Hero
You should be able to add a URL to the text
- LeonvanGasselt-Community Member
In my coding there is a part where I can put the URL but then it doesn't opent he new URL. I have part of the code below
class="sop-link" href="https://REPLACE-WITH-YOUR-LINK-HERE.com" title="Edit this link in the right panel or replace the URL in the code"
When I click on the word SOP it opens a new tab in the webbrowser which shows below
Where I replace the bold address nothing changes I have attached the whole code I created for a card with the word SOP popping out of an envleop. The learner can click on the SOP and this will open the SOP page. I would be happy to see hwat I have to chnage t make this work even putting in another URL to demonstrate ths.
Related Content
- 8 months ago
- 6 months ago