Namazu-users-en(old)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NMZ.head improvement
- From: "Matt.Wilkie" <Matt.Wilkie@xxxxxxxxx>
- Date: Tue, 17 Dec 2002 09:31:21 -0800
- X-ml-name: namazu-users-en
- X-mail-count: 00375
Hi All,
Add this little bit to you the NMZ.head template to have the
keyboard focus automatically set to the input query textbox
everytime the page loads. It makes the search page much
easier and quicker to use.
------------------------------------
<script language="JavaScript"><!--
function setFocus() {
document.forms[0].elements[0].focus();
}
//--></script>
</head>
<body lang="en" onLoad="setTimeout('setFocus()',1)">
------------------------------------
cheers,
-- Matt Wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
91780 Alaska Hwy * Whitehorse, Yukon * Y1A 5X7
867-667-8133 Tel * 867-393-7003 Fax
--------------------------------------------