English translation

This commit is contained in:
Rnhmjoj 2014-01-14 00:34:17 +01:00
commit 0c48de1327

View File

@ -2,7 +2,6 @@
## JQuery plugin for custom error pages ## JQuery plugin for custom error pages
<<<<<<< HEAD
## Info ## Info
A jQuery plugin that allows you to use custom error pages. A jQuery plugin that allows you to use custom error pages.
To be used when you can not edit the file `. Htacces` Apache or when using To be used when you can not edit the file `. Htacces` Apache or when using
@ -11,35 +10,21 @@ Simply checks if the requested resource is available when you open a link.
### Usage ### Usage
Add in head: Add in head:
=======
### Informazioni
Un plugin per jQuery che permette di usare pagine di errore personalizzate.
Da usare quando non si può modificare il file `.htacces` su Apache o quando si usano applicazioni non ASP su un server IIS
Semplicemente controlla lo stato di una risorsa collegata da un link quando viene richiesta.
### Istruzioni
Aggiungi nel'head:
>>>>>>> e2ac1143fefb4a651368dc337b44a85ebdd68f81
<script src="https://raw.github.com/Rnhmjoj/Custom404/master/jquery.custom404.min.js" type="text/javascript"></script> <script src="https://raw.github.com/Rnhmjoj/Custom404/master/jquery.custom404.min.js" type="text/javascript"></script>
In a script: In a script:
$(document).ready(function(){ $(document).ready(function(){
$("a#prova").custom404({404: "404page.html"}); $("a#test").custom404({404: "404page.html"});
}); });
<<<<<<< HEAD
Options are `statusCode: url`. All the http status codes are fine. Options are `statusCode: url`. All the http status codes are fine.
If you do not select anything by default all the links on the page will be used. If you do not select anything by default all the links on the page will be used.
You can find an example [here](http://jsfiddle.net/NY9dH/). You can find an example [here](http://jsfiddle.net/NY9dH/).
### License ### License
=======
Le opzioni sono `statusCode: url`. Tutti gli status code http vanno bene.
Se non si seleziona nulla verranno selezionati di default tutti i link della pagina.
>>>>>>> e2ac1143fefb4a651368dc337b44a85ebdd68f81
Dual licensed under the MIT and GPL licenses: Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mitlicense.php http://www.opensource.org/licenses/mitlicense.php