Is bug or not? Tabstrip with image inside

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

    Posted 29 May 2013 Link to this post

    Hello!
    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
    http://www.sendspace.com/file/452c8a
  2. Dimo
    Admin
    Dimo avatar
    8332 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.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top