Colorbox - removing the close button from a specific window

Posted by Yael on Stack Overflow See other posts from Stack Overflow or by Yael
Published on 2010-04-21T17:48:33Z Indexed on 2010/04/21 17:53 UTC
Read the original article Hit count: 363

Filed under:

Hi, I'm using the colorbox plugin to display messages on my web page. One of them is a "wait for response" message, and I don't want the user closing it by himself.

I know how to unbind the ESC key, and to disable the overlay close, but I still have a problem with the close button. I found I could remove it in the css like this: #cboxClose{display:none !important;} but this will effect all my colorbox messages..

Is there a way to remove the close button from a specific message? Maybe from the jsp itself?

Thanks, Yael.

© Stack Overflow or respective owner

Related posts about colorbox