1

In CMS I have attached the component inside richtext as a link. When i publish the page the HTML of the link inside the richtext is rendered as

> <a title="Signup" target="overlay"
> href="http://MysiteURL/Myform.aspx"><strong>Sing up today!</strong>&nbsp;</a>

I want to open the Myform.aspx page as overlay on clicking the link.

At DD4T solution i am using below code to render rich text.

@if (Model.Component.Fields.ContainsKey("description")) {        <p>@Model.Component.Fields["description"].Value.ResolveRichText()</p>  
}

If anyone can help me to achieve this functionality?

1 Answer 1

3

The answer to this question is not really tridion-related, but can simply be solved using a javascript library.

Some plugins are at your disposal (jquery based)

http://jquerytools.github.io/demos/overlay/external.html

http://tutorialzine.com/2012/07/framewarp-jquery-plugin/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.