Using a Chrome extension in the browser, I allow the user to select a bunch of text to submit to the database. When the user hits enter, a confirm box pops up, but before the user hits 'OK' to submit, I want the user to be able to scroll in the background and double check everything that he's submitting. Is there anyway to make the background scroll while the confirm window is in focus?

有帮助吗?

解决方案

You need to initialize the JQ dialog with modal set to false

Official doco on how it works is here: http://api.jqueryui.com/dialog/#option-modal

Provided that the text/fields/data to be submitted isn't huge, you should also consider jasonscript's idea of presenting the data in the popup. From what you're saying though, it's more important to show what they might have MISSED, not just what they included. Perhaps an on the fly screenshot of the webpage at the point they opened the submission form? That would show their selection clearly.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top