jquery - Define a minimun height when collapsing in Bootstrap -


in bootstrap, want set height when collapses. want keep collapsible area shown using .collapse.in class. when collapses won't set height zero.

before collapse:

enter image description here

after collapse:

enter image description here

update:

http://jsfiddle.net/r6eaw/1158/

css:

#collapseone{     min-height:60px } 

jq:

$('#accordion').on('hidden.bs.collapse', function () {     $('#collapseone').removeclass('collapse').css({                 'overflow': 'hidden',         'height': '60px'     }) }) 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -