A modal popup that interacts with user actions such as Maximize, Minimize, Close, Resize, and Drag and Drop when customizing

I need a modal popup that interacts with a user action, as shown below. But this modal popup should be in a pure java script. It is strictly forbidden to use the jQuery or jQuery plugin.

Modal Popup Example

I look forward to your reply.

Thanks in advance.

+5
source share
2 answers

Here I share some plugins that are mostly created in jQuery and Javascript.

No matter what you are looking for in simple javascript, than you can use http://alpha.jspanel.de/media/demos/nojquery/index.php

Another is created in jQuery. This is https://lobianijs.com/site/lobipanel#examples

Using the first option, you can go to the active user interaction actions in simple javascript.

+5
source
  • A div design or something like a window
    • CSS
    • HTML
  • Add JS listeners to it: onClick , onDrag , etc.
    • Javascript
  • Use several combinations of preventDefault and return false for "modality", also use z-index to bring the "window" at the top
0
source

Source: https://habr.com/ru/post/1265868/


All Articles