jQuery UI modal dialog box and the close button upper right: how to remove it.

Posted by tahdhaze09 on Stack Overflow See other posts from Stack Overflow or by tahdhaze09
Published on 2010-03-16T19:28:59Z Indexed on 2010/03/16 19:31 UTC
Read the original article Hit count: 725

I need to kill the close 'x' button at the top of the dialog box. I have a modal that opens with an OK button that redirects to the site. The site behind the modal is in an iframe. When the user agrees to the statement in the dialog box and clicks the 'OK' button, it redirects to the site that is outside the iframe. If the user clicks on the 'x', it goes to the iframe site, which I do not want to have happen.

I need the modal to work as a one-way to the site it goes to. It basically forces the user to accept the user agreement.

I would post code, but its an intranet site.

Thanks everyone for your help!

© Stack Overflow or respective owner

Related posts about jquery-ui

Related posts about modal-dialog