Quote:
Originally Posted by JD45
Could this be integrated in to the existing search field instead of creating another one?
|
of course it could
How?
do steps 1 and 3
then
add the onclick event to the search field:
Code:
onkeyup="showHint(this.value)"
then, after the field, add the hidden div where the search results appears:
Code:
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>