#1
|
|||
|
|||
warning system
ok, before you post this isn't anything like bloodruns user warning script (which looks amazing)
this is a warning script for deleting adoptables 1. put <script type="text/javascript"> <!-- function kill() { var answer = confirm("kill him?") //you can change whats in the " " to whatever you want if (answer){ alert("you pressed ok") //you can change whats in " " to whatever you want window.location = 'myadopts.php?act=kill&id=<?php echo $id ?>&more=confirm'; } else{ alert("Thanks for not killing him!")///you can change whats in " " to whatever you want } } //--> </script> at the bottem (after everything) 2. press ctrl-F and search for <a href='myadopts.php?act=kill&id=".$id."&more=confir m'> change it to <a onclick='kill()'> |
#2
|
||||
|
||||
RE: warning system
Looking good man.
|
#3
|
|||
|
|||
RE: warning system
thank you :D, this is my first mod
|
#4
|
|||
|
|||
RE: warning system
How can i read your warning script?
I wouldn't understand what you written here. Can you explain it? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Warning Messages (more) | Abronsyth | Questions and Supports | 4 | 10-04-2014 06:40 PM |
Warning At Top of Site | Abronsyth | Questions and Supports | 1 | 07-13-2014 11:53 PM |
Trojan Warning | densaugeo | Questions and Supports | 18 | 10-11-2009 11:17 PM |
Reporting and warning | eaglelegend | Suggestions and Feature Requests | 6 | 05-01-2009 01:37 PM |
What's New? |
What's Hot? |
What's Popular? |