Here's the code to paste into a place for you (with info):
Quote
<center>
<form onsubmit="search();return false;" method="post" style="margin:0px" action="/load/" id="searchform"> <input type = "text" name = "query" maxlength = "30" style = "width: 400px;" id = "querys"> <input type="submit" name="sfSbm" value="Find"> <input type = "hidden" name = "a" value = "2"> </form> <script type="text/javascript"> function search () (if ($('# querys'). val (). match (/ ^ \ s *$/)){ _uWnd.alert ('Enter a keyword to search','',{ w: 200, h: 70, tm: 2300)); return;) document.getElementById (' searchform '). submit ();}</script>
</center>
action: change the /load/ to whatever uCoz module (/stuff/, /photo/, /dir/ etc) where you want requested results to convey.
input type text maxlength: the amount of characters that someone can insert into the input (search box).
input type value: The name displayed on the "submit" button.
All the other stuff is not compulsory to acknowledge.
If you have any further questions about this script, don't hesitate to post here. And remember, you need to be registered to post!
My notes:
- runs flawlessly
- easy to use
- took around 1 hour to make this
- happy to of completed it
Have fun!