I updated the resource listing to reflect the revision number. Thanks for pointing that out.
All is OK. It is written 1.7 in the name ( http://modxcms.com/AjaxSearch-490.html ).
But it is inside contains 1.7.0.2. I will look.

), but when clicked somewhere on the page ( not on some btn or url
), textI can’t say how this site did it. But in general you can accomplish this by adding a onblur command to fill it in again after the onfocus command in the AjaxSearch form. You will need to edit the snippet’s tpl. Maybe ask for this to be added to future releases in the AjaxSearch sub forum.
onblur="if(this.value=='')this.value='Search here...';"
With regards to the search box in FreeAgent, this is achieved using a bit of Javascript. I can’t remember where I found the original script but this seems to do the trick too:
http://www.yourhtmlsource.com/forms/clearingdefaulttext.html
It’s a slightly more accessible method than the default AjaxSearch behaviour.
No index is necessary.
Wouldn’t a lot of what you’re suggesting require preprocessing the content and TVs into a search index in order to be performant?
...At idea level.# Error Line 146, Column 32: document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
<label for="ajaxSearch_input">
✉
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Would be nice to have templating for input and output of this snippet like Wayfinder and Ditto.It’s planed
Everything, that I have told, can be realised undoubtedly. A question is only in time availability and desire of developers.
I cannot participate in development. ;(
I am employed by other work. Building of sites is not the main work for me. I support an intracorporate site simultaneously.
What’s keeping you from participating in development?
I heard nothing about project Lucene. I have read about it just. It is a pity that the library Lucene is developed on Java.
Sounds quite similar to the Search Lucene project based on my understanding.
This discussion is closed to further replies. Keep calm and carry on.