BarryC
May-15-2008, 06:29 AM
hi all,
i've implemented the keyword search box documented in the customization FAQ...the html code supplied in the FAQ that goes in the header box follows:
<html>
<!-- Site Keyword Search -->
<form name="suggest" action="/keyword/jump.mg">
<div id="keywordSearch">search
<input autocomplete="off" maxLength=256 size=25 name="Keyword" value="" onfocus="InstallAC(document.suggest,document.suggest.Keywor d,document.suggest.submitButton,'suggestRPC.mg','e n')" />
<input type=submit value="keyword search" name="submitButton" class="buttons" />
******** src="/include/js/keywordsuggest.js"></********></div>
</form>
<!-- End Site Keyword Search -->
</html>
am not an html person, but am wondering if the following change is simple or not
the above html includes a "suggestion feature" that suggests keywords to the user as the user is typing...it appears that these suggestions come from the entire smugmug site's keywords list...can the html be changed so that (a) it only suggests keywords from my site or (b) it doesn't suggest keywords at all?
thanks,
barry
i've implemented the keyword search box documented in the customization FAQ...the html code supplied in the FAQ that goes in the header box follows:
<html>
<!-- Site Keyword Search -->
<form name="suggest" action="/keyword/jump.mg">
<div id="keywordSearch">search
<input autocomplete="off" maxLength=256 size=25 name="Keyword" value="" onfocus="InstallAC(document.suggest,document.suggest.Keywor d,document.suggest.submitButton,'suggestRPC.mg','e n')" />
<input type=submit value="keyword search" name="submitButton" class="buttons" />
******** src="/include/js/keywordsuggest.js"></********></div>
</form>
<!-- End Site Keyword Search -->
</html>
am not an html person, but am wondering if the following change is simple or not
the above html includes a "suggestion feature" that suggests keywords to the user as the user is typing...it appears that these suggestions come from the entire smugmug site's keywords list...can the html be changed so that (a) it only suggests keywords from my site or (b) it doesn't suggest keywords at all?
thanks,
barry