javascript - How to prevent colorbox on body click event? -


I am using colorbox which is working fine. I want to avoid getting it off by body click event. When I click on the Close button it should be closed. What will be the syntax for this. I am using this code

  $ (".frame") Colorbox ({iframe: true, innerWidth: 570, inner hight: 300, scrolling: true});    

Use this:

  $ (" Iframe "). Colorbox ({iframe: true, innerWidth: 570, inner hight: 300, scrolling: true, overlaycloses: wrong});    

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -