This is a migrated thread and some comments may be shown as answers.

Is bug or not? Tabstrip with image inside

1 Answer 47 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Gusev
Top achievements
Rank 1
Gusev asked on 29 May 2013, 10:22 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 May 2013, 11:32 AM
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!
Tags
TabStrip
Asked by
Gusev
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or