FancyBox vs TwitterBootstrap modal?

In a recent project, FancyBox introduced the project, and overall, he is pleased with it. Friend recommended. I look at the jQuery modular plugin as part of the Twitter Bootstrap framework. Has anyone used this plugin and can comment? Any pros, cons?

+5
source share
3 answers

Good for professionals, I have to say that since it is already included in the download, you get a consistent style on your site without the need for major changes or nothing at all. The bootable modal plugin uses CSS3 transitions to provide effects and thus adds and increases performance combined with its small size, this is a very quick solution. The boot modal is painless to use and well-documented so you don't get lost.

? , , CSS , css, , , . / js css. , iframes/videos/images, . , CSS3 , , , , . , , -, (, , ).

fancybox, , - , .

+6

fancybox:

  • .

:

  • - Apache License 2.0, Fancybox 2.x - CC BY-NC 3.0 .
  • .
  • , .
  • .
  • . fancybox (Browser , jQuery, IE).
  • CSS , , .
  • CSS.

, , , 2012 , , , , , // , , , , CSS . - , , , CSS, "", , , , :

#citymodal {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 80%;
    margin-left: -167px;
    width: 334px;
    padding-bottom: 40px;
    min-height: 150px;
}

334px . , (80%) , ( "" 8+ 30 " " ).

+5

Bootstrap. Bootstrap 3 , POC, , Bootstrap . , .

http://scottpdawson.com/development/creating-a-variable-width-modal-dialog-using-bootstrap-3/

In addition, you do not need to save the title and buttons. As you will see in this video lynda.com (available to subscribers), dropping them can give you a pretty nice full-screen zoom.

http://www.lynda.com/course20/Bootstrap-tutorials/Updating-modals/138156/144536-4.html

+1
source

All Articles