1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    102
    Vote Rating
    0
    rojar is on a distinguished road

      0  

    Default browser events

    browser events


    Hi,

    I have created a logon page where user enters username and password and logs on to website.

    1) What I need is if user clicks browser's corss button after logging an alert should appear conforming from user that if he wants to close window. If user clicks yes then user should be logged off.

    2) Similar behaviour is needed when user logs on and then click browser's back button .


    How can I achieve this. I have been looking for javascript code but to no benefit.


    Waiting for your response.


    Thanks.

  2. #2
    Ext User
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    huling is on a distinguished road

      0  

    Smile


    window.onbeforeunload = your.fn
    window.onunload = your.fn

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi