最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Modal popup that interact with user action like Maximize, Minimize, Close, Resize and Draggable on user setting - S

programmeradmin1浏览0评论

I need modal popup that interact with user action like below snap. But this modal popup should be in pure java script. Strictly prohibited to use JQuery or JQuery plugin.

I look forward to hearing from you.

Thanks in advance.

I need modal popup that interact with user action like below snap. But this modal popup should be in pure java script. Strictly prohibited to use JQuery or JQuery plugin.

I look forward to hearing from you.

Thanks in advance.

Share Improve this question edited Mar 24, 2017 at 11:26 Edric 26.9k13 gold badges87 silver badges95 bronze badges asked Mar 24, 2017 at 10:29 Dipak DelvadiyaDipak Delvadiya 2,1122 gold badges20 silver badges34 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

Here I share some plugins which are basically created in Jquery and Javascript.

Whatever you are looking for in plain javascript than you can use http://alpha.jspanel.de/media/demos/nojquery/index.php

Another one is in created using Jquery. It is https://lobianijs./site/lobipanel#examples

Using of first option, you can go ahead to active user interaction actions in plain javascript.

  1. Design div or something to look like window
    • CSS
    • HTML
  2. Add some JS listeners to it: onClick, onDrag and so on
    • JavaScript
  3. Use some binations of preventDefault and return false for "modality", also use z-index to bring "window" to the top

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论