bootstrap-modal
bootstrap-modal copied to clipboard
An explanation of the mechanics to accompany the examples.
From the examples, it's a bit unclear how stack modals when loading them through ajax. It would be nice if the documentation explained a little bit of the mechanics involved. The examples, while they do a great job of showing the plugin's capability, they do very little to explain how this is done.
Thanks for the feedback.. redoing the demo page is on my list of things to do, it's just hard to find the time at the moment. I'm definitely open to suggestions on how I can provide better examples.
I'll second the need for code examples. I've looked through the source and the examples and I can't figure out the right method to indicate that a modal should be full-width.
@bumpux It should work if you just add the additional container class to the modal element.
<div class="modal container hide fade">
....
</div>
But point taken :). I will try to get a better demo page up a running ASAP. This will most likely not be until after BS 3.0 is released as I am anticipating quite a few changes.
Thanks, that helps. It's very useful. I've got full width now, but height is really variable (too tall in Chrome, too short in Firefox)...
Sorry I must have missed your reply. Where you able to fix your last issue?
+1 for this. glad i'm not the only one confused. love the effort and features you put into this. thanks!
As far as BS3 - i bet you don't get a lot of upgraders until a while after its out. looks like a 'rewrite your site' level of change
Is there any way to define options using something like data-options: in the div tag or do I have to use jquery if I want to define options?
BTW - You rock!! This is a great addition to bootstrap!!
OOPS!!! I just used data-width="670px" and it worked!!! I was trying data-options="width:670px;" and other variation on data-options= and getting nowhere. Sorry for silly question.