javascript - making background inactive when a button is pressed -
when click user name on twitter background becomes inactive , dark.just that:

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
Post a Comment