First of all, to say "Here's a tutorial and code for creating the "corner peel" effect: http://www.marcofolio.net/webdesign/...r_website.html" is not reading my original post as I already referenced this page AND the actual code in my first post. To state that is repetitive and unnecessary.
Secondly my original post states "ATTEMPT to hit the back button or close out the site." Not hover. My example of trafficgenerator.com shows this example.
Thirdly, to state "It would be pretty easy to write your own:" is also an unnecessary comment. If it were easy or if I knew how to do it, I wouldn't be asking the question on the forum.
Lastly "onUnload" isn't working with this particular script and nor is the script you provided. If you are able to further provide insight, that's fine. Otherwise perhaps someone else who has programming knowledge can help.
Quote:
Originally Posted by End User
I did. Here's what you asked: "...I want the peeling corner to appear only if the user moves his mouse to attempt to hit the back button or close out the site."
- You were told that it's not possible to detect the cursor hovering over the Back button. That's true, there's just no way to do that.
- You were also told that you could use onUnload() to trigger an event when the user begins to leave the current page, such as with the back button.
- I provided you code that would replicate the "trigger" effect on the trafficregenerator.com site that you mentioned, i.e. when a user moves their cursor off the page towards the top.
What more do you you want, specifically?
|