JQuery pop up/ alert needed

前端 未结 3 1805
南旧
南旧 2021-01-28 02:55

I have a list of elements that need to have a corresponding pop up for each element. This is not a pop up where the background is blacked. This is more like a javascript alert

相关标签:
3条回答
  • 2021-01-28 03:29

    I suggest you to use Colorbox for pop-up systems. Fırst of all; it is easy to learn and use.

    And most importantly: Colorbox won't create conflicts with your other plugins (sometimes fancybox does that).

    Some Features:

    • Supports photos, grouping, slideshow, ajax, inline, and iframed content.
    • Lightweight: 10KB of JavaScript (less than 5KBs gzipped).
    • Appearance is controlled through CSS so it can be restyled.
    0 讨论(0)
  • 2021-01-28 03:32

    What about http://jqueryui.com/demos/dialog/#modal-confirmation
    or http://jqueryui.com/demos/dialog/#modal-message

    0 讨论(0)
  • 2021-01-28 03:38

    You can easily do this without using jQuery Plugins.

    I put together a little example.

    0 讨论(0)
提交回复
热议问题