but can not find the style information?From ajaxSearch_version180.txt:
For each field named "xxxx" we will have: [+as.xxxx+] the content of the field named xxxx [+as.xxxxShow+] a boolean value which is equal to 0 when xxxx='', 1 otherwise [+as.xxxxClass+] a class name equal to: - ajaxSearch_resultXxxx for the non ajax results (&tplResult) - AS_ajax_resultXxxx for the ajax window (&tplAjaxResult)
but can not find the style information?From ajaxSearch_version180.txt:So for instance for non-ajax mode you will get:For each field named "xxxx" we will have: [+as.xxxx+] the content of the field named xxxx [+as.xxxxShow+] a boolean value which is equal to 0 when xxxx='', 1 otherwise [+as.xxxxClass+] a class name equal to: - ajaxSearch_resultXxxx for the non ajax results (&tplResult) - AS_ajax_resultXxxx for the ajax window (&tplAjaxResult)
- class="ajaxSearch_resultLink" for link
- class="ajaxSearch_resultDescription" for description
- class="ajaxSearch_resultExtract" for extract
... and so on.
For the other templates (layout or pagin) read the ajaxSearch_readme text for other class names. These names haven’t been changed.
what im trying to do is change the search button to an image button.Replace
cant figure out how to do this, well not yet anythings, still trying to figure out how where everything is.
<input id="ajaxSearch_input" class="cleardefault" type="text" name="search" value="[+as.inputValue+]"[+as.inputOptions+] />
<input id="ajaxSearch_submit" class="cleardefault" src="assets/snippets/ajaxSearch/images/zoom.gif" type="image" name="search" alt="Search" value="[+as.inputValue+]"[+as.inputOptions+] />
#ajaxSearch_input {
width:130px;
background:#FFF;
font-size:0.9em;
border:2px inset gray;
padding:3px 2px 2px;
float: left;
margin:0;
}
#ajaxSearch_submit {
background:none;
border:none;
width:16px;
margin: 3px 2px 0;
float:left;
}
#ajaxSearch_output {
font-size:0.9em;
background-color:#EFEFEF;
border:1px solid #6F9303;
color:#000;
position:absolute;
top:50px;
right:10px;
width:250px;
z-index:1;
margin:0;
padding:5px;
}[+as.showForm:is=`1`:then=` <div id="HeaderContainer_search"> <div id="HeaderContainer_login"> <a href="client-login.html"><img src="http://www.mydomain.com/images/login.gif" alt="Login" width="103" height="23" border="0" /></a> </div> <div id="HeaderContainer_searchbox"> <form [+as.formId+] action="[+as.formAction+]" method="post"> <input type="hidden" name="advSearch" value="[+as.advSearch+]" /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right" class="search">Search:</td> <td width="195" align="right"><input id="ajaxSearch_input" name="search" type="text" class="SearchBasicInputBox" value="[+as.inputValue+]"[+as.inputOptions+] /></td> <td width="40" align="right"><input id="ajaxSearch_submit" type="image" name="sub" value="[+as.submitText+]" src="http://www.mydomain.com/images/btn_search.gif" alt="Go" /></td> </tr> </table> </form> </div> </div> `+] [+as.showResults:is=`1`:then=` [+as.results+] `+]
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`30` &extract=`1`!]
[!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0`!]
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`30` &extract=`1`!]
but then i cant search while im on the search result pageSee the "same page" demo on the AS demo site. Try for instance "education".