简体   繁体   中英

Modal container with: auto centering, fitting size of content inside container

I'm looking for some kind of modal container (for jQuery framework). I need this container support:

  • fitting dimensions of content inside modal container; I will load container with data using ajax so some kind of dimensions recalculations required (as far as I understand)
  • ater fitting content container should be centered and shown to user
  • modal container should be shown on some kind of semi-transparent background (this "background" will block interacting user with another parts of page, focusing to modal container)
  • lightwight, easy to customize (modal container html and css) etc.

Thank you!

我相信jQuery ui对话框符合您的期望http://jqueryui.com/demos/dialog/#modal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM