CSS Man Posted February 25, 2006 Share Posted February 25, 2006 (edited) I am using a piczo website maker. You can put in html. So I put "Add HTML". i wanted the onunload event for DHTML. So it worked, but is there a way for the message to pop up only when you click exit? Because there are other pages, and whenever you click them, it comes up.(the title was suppost to be "onunload".)Fixed. Edited February 25, 2006 by Jonas Link to comment Share on other sites More sharing options...
Skemcin Posted February 26, 2006 Share Posted February 26, 2006 there is no way to catch the user when the click File/Exit or when they click the X in the upper right hand corner of the browser window.The onunload attribute will, as you has discovered, always execute when the page is left. You could write some script so that it will only trigger when you click a link that is not a link to a page on your site. Link to comment Share on other sites More sharing options...
CSS Man Posted February 26, 2006 Author Share Posted February 26, 2006 Ok thank you. 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