Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
133
rated 0 times [  136] [ 3]  / answers: 1 / hits: 141306  / 12 Years ago, fri, april 13, 2012, 12:00:00

Is there a way to change the Twitter Bootstrap Modal window animation from a slide down effect to a fadeIn or just display without the Slide? I read through the documentation here:



http://getbootstrap.com/javascript/#modals



But they don't mention any options for changing the modal body slide effects.


More From » jquery

 Answers
7

Just take out the fade class from the modal div.



Specifically, change:



<div class=modal fade hide>


to:



<div class=modal hide>





UPDATE: For bootstrap3, the hide class is not needed.


[#86254] Thursday, April 12, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
maryann

Total Points: 600
Total Questions: 104
Total Answers: 97

Location: Sint Maarten
Member since Tue, Mar 29, 2022
2 Years ago
maryann questions
Fri, Oct 15, 21, 00:00, 3 Years ago
Thu, Aug 13, 20, 00:00, 4 Years ago
Wed, Jul 17, 19, 00:00, 5 Years ago
Mon, Dec 17, 18, 00:00, 6 Years ago
;