Press "Enter" to skip to content

Бърз бутон за начална страница

0

<script language=“JavaScript1.2″>
<!–
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function backhome(e){
var targeturl=“Пътя до началната страница“
if (document.layers||document.getElementById&&!document.all){
if (e.which==104||e.which==72)
window.location=targeturl
}
else if (document.all){
if (event.keyCode==104||event.keyCode==72)
window.location=targeturl
}
}
document.onkeypress=backhome
//–>
</script>

Close