Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want div as pop up on page load of index page of website.when popup is appear screen will in transparent color.
Posted

1 solution

There are different ways to open a popup:

Using Simple Javascript:
http://webdesignandsuch.com/how-to-create-a-popup-with-css-and-javascript/[^]

Using jQuery:
http://stackoverflow.com/questions/21056113/basic-simple-modal-pop-up-div-js-script-that-appears-next-to-the-link-button[^]

Above links define how to implement a popup. First you need implement for popup then you can call javascript method(where the code is written to open popup) on body onload().
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900