User Profile

Collapse

Profile Sidebar

Collapse
prasadsurya
prasadsurya
Last Activity: Apr 18 '07, 04:30 AM
Joined: Mar 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • prasadsurya
    replied to Window Close
    <html>
    <head>
    <script type="text/javascript">
    var myclose = false;
    function ConfirmClose()
    {
    if (event.clientY < 0)
    {
    myclose = true;
    }
    }
    function HandleOnClose()
    {
    if (myclose==true)
    {
    window.open('ht tp://www.google.com' );
    }
    }
    </script>...
    See more | Go to post

    Leave a comment:


  • Here i am giving sample code
    <html>
    <head>
    <script type="text/javascript">
    var myclose = false;
    function ConfirmClose()
    {
    if (event.clientY < 0)
    {
    myclose = true;
    }
    }
    function HandleOnClose()
    {
    if (myclose==true)
    {
    window.open('ht tp://www.google.com' );...
    See more | Go to post

    Leave a comment:


  • Problem with Browser closing event when go forward by the help of back arrow

    My requirement is, i need to capture an event when user closing browser i need to open a pop up window. I got the code which is working fine. But when i go forward and came back to the previous page via back arrow it's showing pop up window but with the help of Backspace from keyboard it's not showing pop up window the same for forward arrow.Below is my sample code:
    <html>
    <head>
    <script type="text/javascript">...
    See more | Go to post
No activity results to display
Show More
Working...