bootstrap-modal icon indicating copy to clipboard operation
bootstrap-modal copied to clipboard

An explanation of the mechanics to accompany the examples.

Open abitdodgy opened this issue 12 years ago • 7 comments
trafficstars

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.

abitdodgy avatar Dec 21 '12 12:12 abitdodgy

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.

jschr avatar Jan 07 '13 15:01 jschr

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 avatar Jan 08 '13 21:01 bumpux

@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.

jschr avatar Jan 08 '13 21:01 jschr

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)...

bumpux avatar Jan 08 '13 23:01 bumpux

Sorry I must have missed your reply. Where you able to fix your last issue?

jschr avatar Jan 27 '13 01:01 jschr

+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

jbranc avatar May 22 '13 14:05 jbranc

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.

timrohde avatar Mar 20 '15 19:03 timrohde