Hi.
I am modifying a website for a friend, and he has asked me something which i am not sure how to do, either using HTML or javascript.
Essentially, what he wants is that in the event of someone closing the browser window from his site, for a very small popup to appear and saying goodbye, and to visit soon ( since the place ain't finished building yet).
I'll be honnest, i'm mostly a OS guy, i don't really do coding or designing webpages, but i owe the guy a favor. Would you people know where i can get understandable code to put into my existing page, or where i can get a tutorial into making that kind of simple function for my friend's site? I think this can mostly be done with javascript, but if it can be done using html, let me know too?
Thank you.
Dave.
I am modifying a website for a friend, and he has asked me something which i am not sure how to do, either using HTML or javascript.
Essentially, what he wants is that in the event of someone closing the browser window from his site, for a very small popup to appear and saying goodbye, and to visit soon ( since the place ain't finished building yet).
I'll be honnest, i'm mostly a OS guy, i don't really do coding or designing webpages, but i owe the guy a favor. Would you people know where i can get understandable code to put into my existing page, or where i can get a tutorial into making that kind of simple function for my friend's site? I think this can mostly be done with javascript, but if it can be done using html, let me know too?
Thank you.
Dave.