EasyUI Forum
May 16, 2024, 01:57:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to apply "overflow:hidden" style to dinamically created Tab?  (Read 10585 times)
mzeddd
Full Member
***
Posts: 223



View Profile
« on: January 07, 2012, 03:01:32 AM »

Question in the subject.

I think it should look like in code below but with some updates Smiley
Code:
$('#myTab').tabs('add',{
    title:title,
    href:address,
    closable:true,
    style:[{overflow:'hidden'}]
});

Thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 08, 2012, 07:15:45 PM »

Define the hidden class that will be apply to the panel body:

.hidden{
   overflow:hidden;
}

Code:
$('#myTab').tabs('add',{
    title:title,
    href:address,
    closable:true,
    bodyCls:'hidden'
});
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!