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(); });
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
Post a Comment