To do with redirecting

  • Hi I am going to use a store proc in my web page .

    So when the user clicks on the cross to close the window I want it to redirect to another page where the store procedure is.

    What is the HTML?

    Can this e done .?  So on close(X - top right) - redirect to temp1.asp

    HELP

    Ritz

  • ritesh-

    I would suggest you ask this question in another forum altogether.  This question has nothing to do with SQL or ACCESS.  Look for a forum on web site programming.  I can at least tell you that I really don't think you will solve your problem with HTML.  Most likely with Java or JavaScript.

    [font="Comic Sans MS"]Vic[/font]
    www.vicrauch.com

  •  

    Ritesh,

    Heres something that may help with IE browsers at least.

    Please note clients would require javascripts to be enabled and executable, which may pose a security risk.

    The following is a fairly simple script which opens a new browser window on the onUnload event.

    You should be able to just copy it straight onto your html page at the top and change the url in the function open_on_exit() to the one you want to go to.

    <!--Please ignore this line when copying

    <html>

    <head>

    <script language="JavaScript">

    <!--

    function open_on_exit()

    {

    window.open('http://www.juvani.co.uk')

    }

    // -->

    </script>

    </head>

    <body onUnload="open_on_exit()" bgcolor="#60CC60">

    Your new window will open when this window is closed

    </body>

    </html>

    Please ignore this line when copying-->

  • thank you for your help. i will try this out ASAP.

    regards ritesh

  • I've tried this but it does this action for any link clicked on. As it unloads the page so it fires the javascript.

    i want to fire when the uses closes that window.

     

     

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply