Hi community,
I have big problem and I have tried everythink. I don’t know how to remove blank space, which is on the top of every ajax search result (div’s with class="AS_ajax_result"). I’m optimizing page for all browsers and this problem occurs in all browser.
This is the page, where the problem is:
http://pronails.ifmedia.eu/ try find
nai and look at Firebug, as you can see, on the top of every ajax result is some type of blank space, but as you can see last item (it’s more results link -
AS_ajax_more) haven’t this blank on the top
My versions are MODx 1.0.2, AjaxSearch 1.8.4 and AjaxSearch call is:
<br /><div class="box1"><br /> [!AjaxSearch? &language=`slovak-utf8` &addJscript=`1` &extract=`0` &ajaxSearch=`1` &ajaxMax=`10` &showMoreResults=`1` &moreResultsPage=`37`!]<br /> <!--search_terms--><br /></div><br />
I have tried many combinations of extracts, also I have looked to the template which is used to render ajax output and there aren’t any "\n" or
, even on the end of the template
ajaxSearch\templates\ajaxResult.tpl.html isn’t blank line.
The code which generates ajax results into the template
ajaxSearch\templates\ajaxResults.tpl.html doesn’t contain any blank spaces (I have cut only part which is used for render results), it’s placeholder
[+as.listResults+]
<br />...<br />[+as.noResults:is=`1`:then=`<br /> <div class="[+as.noResultClass+]"><br /> [+as.noResultText+]<br /> </div><br />`:else=`<br />[b][+as.listResults+][/b]<br />`+]<br />[+as.moreResults:is=`1`:then=`<br />....<br />
I will be very
grateful for any advice and suggestions.
Thank you