Matej Posted July 25, 2014 Share Posted July 25, 2014 Hi , how can i do (or how its called) a window , which on load will ask me some question or tell me some message , and after aj close it or "accept" it , it will let me go to the site? without URL change. Link to comment Share on other sites More sharing options...
davej Posted July 25, 2014 Share Posted July 25, 2014 A window or an overlay? Link to comment Share on other sites More sharing options...
Matej Posted July 25, 2014 Author Share Posted July 25, 2014 overlay Link to comment Share on other sites More sharing options...
davej Posted July 25, 2014 Share Posted July 25, 2014 You just create two divs at the bottom of your page. Style them both as display:none with position:fixed. Make one of them semi-opaque and large (to gray-out the normal page content) and the other to be the message box that you want to see. Have the code change their styles to display:block when you want to see them. Link to comment Share on other sites More sharing options...
Matej Posted July 25, 2014 Author Share Posted July 25, 2014 (edited) thanks thought i had to use more of js... Edited July 25, 2014 by Matej Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now