2.0-wip modals: a bug in the docs and one in effects
Using Bootstrap 2.0 (downloaded 1 hour ago) I have found some problems:
1-) In the docs we can see this line of code
<\a href="#" class="close js-dismiss">× while the correct code is <\a href="#" class="close" data-dismiss="modal">× (i've added the slashes after the < because otherwise github would have rendered the html
2-) using "modal" and "fade" for the modal effects are fired only the first time the modal is opened while when closing it or re-opening effects doesn't work. Adding the hide class like in the docs example effects never work
If you want to show snippets of code, use a series of backticks like so. Just remove the spaces between them in the example below and you're good to go.
` ` ` `
...your code here...
` ` ` `
I've fixed the first issue—that was an error in our docs. I'll ask @fat to take a look at the second issue though.
Hi,
the fade effect as shown in docs is also not working with class="modal fade hide"
http://jsfiddle.net/anandanjaria/UJFjK/
Ah, I see—you need to include the transitions javascript plugin. Add that and you should be good!
Let me know if that works out @anandanjaria and @paglias.
works.... included transitions plugin and worked. But in documentation example, it is not mentioned that transition plugin is required.
Thanks a lot Mark.... looking forward to Jan 31st :)
Just solved that—sorry!