Is bug or not? Tabstrip with image inside

2 posts, 0 answers
  1. Gusev
    Gusev avatar
    81 posts
    Member since:
    Dec 2012

    Posted 29 May 2013 Link to this post

    I use Tabstrip!
    I have 2 items (Tabstrip_1 & Tabstrip_2)
    inside Tabstrip_1: 
    <div> with <div> and ....
    inside Tabstrip_2:
    <div> inside this div <div> with <img>
    And I have <script> for zoom img

    If I use SelectIndex(0), all bad and please see SelectIndex(0).png
    If I use SelectIndex(1), all good and please see SelectIndex(1).png

    Why this is occurs?
    How I can use SelectIndex(0),so that get good img in second tabstrip item

    + I attached my project
  2. Dimo
    Dimo avatar
    8406 posts

    Posted 30 May 2013 Link to this post

    Hi Gtrigoriy,

    The 35px height style, which is calculated and applied to #cutDiv is too small. Please keep in mind that Javascript size calculations do not work correctly for hidden elements, such as content inside the non-active tab. You can calculate and set dimensions in the TabStrip's activate event.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top