Template Support

11 May 20172 minutes to read

We can use this option to load any HTML elements and showcase it in the Tab panels as per our requirement.

We can load the contents or HTML elements directly inside the <div> element which we are going to convert as Tab control.

  • HTML
  • <div id="dish" style="width: 650px">
            <li><a href="#corn">Corn & Spinach </a></li>
            <li><a href="#chicken">Chicken Delite</a></li>
        <div id="corn" style="background-color: #F5F5F5">
            <div class="e-content">
                <img src="http://js.syncfusion.com/demos/web/images/accordion/corn-and-spinach-05.png" alt="corn-spinach"/>
                <div class="ingredients">
                    Rate    : $70<br /> Ingredients : cheese, sweet corn &amp; green capsicums.
                    <br />
                    Description: Small pizza bases are topped with spinach and paneer and fresh cream, a nice layer of mozzarella cheese. This is baked until the cheese is all hot and gooey.
        <div id="chicken" style="background-color: #F5F5F5">
            <!--Content for Chicken Delite-->
  • $(function () {