Nice little tip for those using the integrated dynamic search mod.
This will fade out the list of search results when you click elsewhere, as it should really behave.
1) In skin/smart_template/custom/js/smart_dynamic_search/smart_dynamic_search.js
At the end insert...
Code:
function fadeSearch() {
$('#ajax_listOfOptions').fadeOut('slow');
};
2) In skin/smart_template/custom/header.tpl
Replace...
Code:
onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';"
With...
Code:
onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';fadeSearch();"
Kudos to Claudio for the great tip
