Jump to content

Recommended Posts

Posted

Buna ziua, cum as putea face ca atunci cand un user tine apasat F5 sa ii baneze ip-ul o perioada scurta de timp?

 

De unde pot seta la cate warn-uri sa primeasca ban un membru?

Posted

Scriptul de mai jos ar trebui sa dezactiveze F5 din browser:

 

<script language=javascript>
document.onkeydown = function(){

if(window.event && window.event.keyCode == 116)
        { // Capture and remap F5
    window.event.keyCode = 505;
      }

if(window.event && window.event.keyCode == 505)
        { // New action for F5
    return false;
        // Must return false or the browser will refresh anyway
    }
}

</script>

Alte exemple aici: http://www.aspsnippets.com/Articles/Disable-F5-Key-Button-and-browser-refresh-using-JavaScript-or-jQuery.aspx

 

Cat despre Warn-uri, vezi ACP -> Members -> Warning -> Actions

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Posted

Functioneaza corect scriptul postat de gaby, trebuie sa-l bagi corect doar.

Mi-e teama de ziua in care tehnologia va fi mai importanta ca relatiile interumane.In lume va exista o generatie de idioti !! - Albert Einstein

www.gamelife.ro

Posted

Uploadează un document .txt cu global template-ul tau , si iti adaug eu scriptul corect , iar tu doar copiezi globaltemplate-ul cu totul.

daina mucles daina deles

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.