Javascript Pop up with dim and darker background






So today I was running into a small talk that  I need to dim the background when the web page started. In a very simple and naive way you would think of javascript that appends an action to a <div> that contains your message.

However the box will lock bored and ugly. There is a fast and efficient way to do it without any extra work, that is to use jquery style and UI.

For example at the jfiddle right here: http://jsfiddle.net/pmw57/jmPaC/1/

That library from Jquery has saved me a lot of time in styling and coding :)

Comments

If you have any questions, please feel free to comment down here or reach me on my facebook page. I will get back to you as soon as I can! Thank you.

Archive

Contact Form

Send