javascript - making background inactive when a button is pressed -


when click user name on twitter background becomes inactive , dark.just that:

background inactive

i want make website's background inactive when button pressed, how can that?

note: , want solution should use make box appear/disappear middle of site when button pressed?i doig this.

//in css .visible{     display: inline; } .hidden {     display: none; }  //in jquery $("#div1").click(function() {     $('#div2').removeclass("visible").addclass("hidden"); } 

this called lightbox. first hit should make happy: https://www.google.nl/search?q=lightbox


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -