DIV with data-href

Posted by Community Admin on 04-Aug-2018 08:40

DIV with data-href

All Replies

Posted by Community Admin on 07-Jul-2014 00:00

I want to generate  much html code ,   just like   : 

<div class="tile tile-video tile-milestone-b" data-href="/video-library/breastfeeding-is-best">
                    <div class="tile-video-container">
                        <img src="images/default-source/video-tile-images/breastfeeding-is-best.jpg" class="lazy" data-original="images/default-source/video-tile-images/breastfeeding-is-best.jpg" alt="" height="180" width="320">
                        <div class="play-button"><span class="play-triangle">Play</span></div>
                    </div>
                    <div class="tile-content">
                        <span class="tile-headline">Breastfeeding is best for your baby</span>
                    </div>
</div>

 

I drop content block to left panel  in sitefinity pages , but I don't know how to set the data-href property for it,  How I can do it  if I want to generate this html code  ?

Posted by Community Admin on 07-Jul-2014 00:00

Who  can help me  ?  

Posted by Community Admin on 09-Jul-2014 00:00

Hi Minco,

If you want to add raw Html in a content block, you can do that in HTML mode of the Content block widget. However, could you please elaborate on what exactly you want to add in the content block markup?

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed