Code <SCRIPT="Javascript"> <form> <p align="center"> <input type="button" value=" <-- НАЗАД " onclick="history.go(-1)">history.go(-1) <input type="button" value="ВПЕРЕД -->" onclick="history.go(1)">history.go(1) </p> </script> <p align="center"> <input TYPE="button" VALUE=" BACK (НАЗАД)" ONCLICK="history.back(-1)">history.back(-1) </p><p align="center"> <input TYPE="button" VALUE="RELOAD (пере)загрузить страницу" ONCLICK="javascript:parent.location='/java/example.php'">parent.location=... </p><p align="center"> <input TYPE="button" VALUE="HOME (ДОМОЙ)" ONCLICK="HomeButton()">location.href=... <script> function HomeButton() {location.href="http://kdg.HtmlWeb.ru";} </script> </p><p align="center"> <input TYPE="button" VALUE="Alert Message (СООБЩЕНИЕ В ОКНЕ ПРЕДУПРЕЖДЕНИЯ)" ONCLICK="AlertButton()"> <script> function AlertButton() {window.alert("Сообщение");} </script> </p><p align="center"> <input TYPE="button" VALUE="Status Bar Message (СООБЩЕНИЕ В СТАТУСНОЙ СТРОКЕ)" ONCLICK="StatusButton()"> <script> function StatusButton() {window.status="Сообщение в строке статуса";} </script> </p><p align="center"> <input TYPE="button" VALUE="Alternate Background (СМЕНА ФОНОВОГО ЦВЕТА)" onClick="BgButton()"> </p> <script> function BgButton() { if (document.bgColor=='#00ffff') {document.bgColor='#ffffff';} else{document.bgColor='#00ffff';}} </script> <p align="center"> <input TYPE="button" VALUE="New Window (ОТКРЫТИЕ НОВОГО ОКНА)" ONCLICK="NewWindow()"> <script> function NewWindow() {window.open("index.php","","height=450,width=600,status=no,location=no,toolbar=no,directories=no,menubar=no");} </script> </p></form> Код кидать лучше всего под $MESSAGE$ или ещё ниже...
Получить прямую ссылку на файл Скрыть ссылки
|