【问题标题】:How to add more than one image in the tabstrip (Kendo TabStrip)如何在标签条中添加多个图像(Kendo TabStrip)
【发布时间】:2015-12-07 06:09:34
【问题描述】:

谁能告诉我是否有任何方法可以在 Kendo tabStrip 中添加多个图像?

(我不想添加精灵,但是两个不同的图像,其点击事件可以不同地访问。)

【问题讨论】:

    标签: javascript jquery kendo-ui kendo-grid kendo-tabstrip


    【解决方案1】:

    在定义标签标题的 li 元素中,您可以插入 html 内容。

    所以你可以这样做:

    <div id="tabstrip">
         <ul>
             <li class="k-state-active">
               Text<span class="rainy">Your first image</span><spanclass="sunny">Your second image/span>
             </li>
         </ul>
    
    ......
    

    http://dojo.telerik.com/eWuju

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-13
      • 1970-01-01
      • 2021-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多