onbeforeunloadevent is great for that. It will be fired up before the page gets “unloaded” or closed.
Edit: I just found a similar question to yours and here is a great demo about it: http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm
For those who read this post this is not a project to use I just want to see if the mouse events are responsive without delays this is why I’ve added this longs transitions and stuff! if you test it on windows safari you will see that the mouse events are fired with serious delays even if the frame rate is around 60 fps…
Yes, I just tested it on Safari Windows and sometimes it moves, sometimes not. I wonder why though, Safari uses Webkit just like Google Chrome and it’s absolutely fine for me on Chrome.
I would easily pay a couple of hundred bucks if I never had to fill in one of those stupid captcha things ever again. And then I could donate a couple of hundred bucks more so they could pay someone else to read those stupid old books… Heck, I’d rather listen to a part of a Justin Bieber song and then have to write down the lyrics every time.
Lol, is it that bad?
If i buy a photo from photodune with extended licence can i post a psd and a html template with it? Or just one of them?
You may incorporate the Work in a work which is created for Resale by you or your client (provided that only the complete work is offered for sale and the terms of sale (i) require those that acquire the work to only use the Work for their own personal use or in a work they are creating for a client (ii) prohibit resale of the Work as a stand-alone item).
You may display the Work, and make the Work available for use by an unlimited number of your clients, in conjunction with a web site service that you host on behalf of your clients. When using the Work through a web site service, you may make unlimited copies of the Work but you must procure that your clients do not reproduce or use the Work in another application.
Do i have to buy it twice to use it in two projects?If the Work is used or incorporated in a work there is no restriction on the number of copies of that work that can be reproduced and distributed.
Keep in mind that this is only valuable for the Photo Extended License (Commercial), not the Photo Regular License (No Resale)