Reply To: Search results with RELEVANCY – Please?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results with RELEVANCY – Please? Reply To: Search results with RELEVANCY – Please?

#672

Participant

Thanks for the great response.
I’m not a JS coder – but I tested the code you sent, placing it at the top of the body part of the page, like this..

Although it did not throw any errors, It didn’t do anything either.

The more I think about it though, wouldn’t each link need to be configured differently?
I mean, I always thought that an OnClick method would have to be inserted in the link’s source; and that there would be some parameter passing to the function. Yes?

Parameters I would think would need to be passed to the function are..

1. The exact term(s) to be sent for searching on.
2. And any additional params needed to turn on/off the search filters (as needed).

I do not want to suck up your time pursuing this any farther however. And will shelve this idea for now – maybe at some point you can come up with a shortcode that can be inserted in any link’s source, with a method for doing this?

I really appreciate the time you took to send your last reply to this thread.

I do have another question – a simpler one to answer..
‘Where I have been struggling with some of the CSS around the tools dropdown.

I want this to be taller, and not require scrolling by the users; since most of my site visitors are older and not sophisticate enough to be able to figure out on their own that the filter list is actually scrollable.

I have been working with the CSS to try to either make the scroll bar (see screen shot) to remain always visible, or to become visible whenever the mouse pointer enters the inner div that has the text overflow.

BTW – I already tried this method..

<pre class=”lang:default decode:true ” title=”Attempted CSS mod to always show the inner scroll bar” >div.categoryfilter {
overflow-y: scroll !important;
}

But it did not work.

I also tried just increasing the inner div’s vertical height using CSS, with no luck.
Here are my custom CSS mods from the site’s style.css

<pre class=”height-set:true nums:true lang:default decode:true ” title=”At the end of the site’s main style.css file – custom mods..” >/* BEGIN Settings for the search tools dropdown */
div.categoryfilter {
overflow-y: scroll !important;
}
div.categoryfilter div.label {
font-size: 11px !important;
line-height: 14px !important;
text-align: left;
padding-top: 5px !important;
}
div.categoryfilter div.option label {
width: 14px !important;
height: 14px !important;
}
div#ajaxsearchprosettings1 {
height: 319px !important;
background-color: rgba(246, 232, 202, 0.98) !important;
border: 1px solid #f18d47;
}
div#ajaxsearchprosettings1.searchsettings form fieldset legend {
width: 188px;
background-color: #EDF0E9;
padding-top: 10px;
padding-bottom: 7px;
margin-left: 5px;
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
border: 1px solid #b2b29f;
border-bottom: 1px solid #d9c4c4;
}
div#ajaxsearchprosettings1.searchsettings form fieldset div.categoryfilter {
width: 188px;
margin-left: 5px;
background-color: #EDF0E9;
padding-top: 0px;
padding-bottom: 10px;
border-top-left-radius:0em;
border-top-right-radius:0em;
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
border: 1px solid #b2b29f;
border-top: 0px solid #b2b29f;
}
div#ajaxsearchprosettings1.searchsettings form div.label {
font-size: 11px !important;
line-height: 14px !important;
text-align: left;
padding-top: 5px !important;
}
div#ajaxsearchprosettings1.searchsettings form div.option label {
width: 14px !important;
height: 14px !important;
}
/* END Settings for the search tools dropdown */

Maybe you can suggest something?
And then, I will leave you alone for awhile. LOL

Thanks again for all your help.