How make make my pop up code runs on page load?

thanks for the reply,but as I said i dont want to load it with the button or anything else. but I want it to be loaded when I enter into a website;
But anyway,this link helped me what I want,after lot of research,