Welcome! Log In Create A New Profile

Advanced

[MOD] Set Focus v1.0.0

Posted by Sierowski 
[MOD] Set Focus v1.0.0
May 13, 2012 08:46PM
Sphider v1.3.5 Modification
---------------------------

Name And Version
----------------

[MOD] Set Focus v1.0.0

Description
-----------

This mod will give focus to the search input box and allow
the user to start typing without clicking on the search box.
the code should be placed in the footer.html file in your
templates folder before the closing body tag.

CODE.TXT

<script type="text/javascript" language="JavaScript">
<!--
var s=document.getElementById('query');
s.focus();
//-->
</script>
<!-- By David Sierowski -->


By David Sierowski
Sorry, only registered users may post in this forum.

Click here to login