enter on webstrucutre

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3783 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 18 years ago
parent edec6049c3
commit 54ddb3262c

@ -14,7 +14,7 @@
<tr>
<td valign="top">
<dl>
<dt>host</dt><dd><input type="text" value="#[host]#" id="host" onblur="changeHost()" /></dd>
<dt>host</dt><dd><input type="text" value="#[host]#" id="host" onblur="changeHost()" onkeydown="keydown(event)"/></dd>
<dt>depth</dt><dd>#[depth]#<br/>
<a href="WatchWebStructure_p.html?host=#[host]#&depth=#[depthd]#&width=#[width]#&height=#[height]#"><img src="env/grafics/minus.gif" /></a>
<a href="WatchWebStructure_p.html?host=#[host]#&depth=#[depthi]#&width=#[width]#&height=#[height]#"><img src="env/grafics/plus.gif" /></a>

@ -1,3 +1,8 @@
function changeHost(){
window.location.replace("http://"+window.location.host+":"+window.location.port+"/WatchWebStructure_p.html?host="+document.getElementById("host").value);
}
function keydown(ev){
if(ev.which==13){
changeHost();
}
}
Loading…
Cancel
Save