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 :)
Javascript Pop up with dim and darker background Javascript Pop up with dim and darker background Reviewed by Peter Nguyen on 11:57 AM Rating: 5

No comments:

Powered by Blogger.