twitter bootstrap - How to show hidden content inside a modal -


i've created modal, contains open button(inside modal) display 'other content' inside modal itself. here jsfiddle1 link. 'other content' stacked navbar (jsfiddle2 link reference).

i want when click on open button inside modal, should display stacked navbar. how can connect 2 jsfiddle links?

this has nothing modals. use boostrap's collapse function, or write simple jquery using slidetoggle():

$('#toggler').click(function() {     $('#mymodal').find('.content').slidetoggle();     $('#mymodal').find('.btn-text').toggle(); }); 

demo

i've created 2 content wrappers , 2 button text wrappers, second of each being hidden on load. they're being toggled , without animation, respectively.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -