Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top