+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / DIV with data-href

DIV with data-href

3 posts, 0 answered
  1. minco
    minco avatar
    20 posts
    Registered:
    16 Jun 2014
    07 Jul 2014
    Link to this post

    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  ?

  2. minco
    minco avatar
    20 posts
    Registered:
    16 Jun 2014
    07 Jul 2014 in reply to minco
    Link to this post

    Who  can help me  ?  

  3. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    24 Nov 2016
    09 Jul 2014
    Link to this post
    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
     
3 posts, 0 answered