EasyUI Forum
May 16, 2024, 07:13:34 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: accordion container resizeable  (Read 12187 times)
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« on: January 31, 2015, 01:54:27 AM »

hello again,

my question already on my title post.
how to make accordion plugins to achieve that feature. as far as i can see in document, accordion doesn't have resize panel feature.

many thanks for the answer.
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 31, 2015, 03:02:00 AM »

The accordion has no resizable feature, but you can place it in a resizable container to get this feature.
Code:
<div class="easyui-resizable" data-options="onStopResize:function(){$('#aa').accordion('resize')}" style="border:1px solid red;width:500px;height:300px;padding:10px">
  <div id="aa" class="easyui-accordion" fit="true">
    <div title="About">
    </div>
    <div title="Help">
    </div>
  </div>
</div>
Logged
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« Reply #2 on: January 31, 2015, 06:09:25 AM »

thanks stworthy your answer, i'll try your suggestion ASAP.
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
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!