Let the grouped search results displayed as tabs

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Let the grouped search results displayed as tabs

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33402
    phillip.groschup51
    phillip.groschup51
    Participant

    Hi wp-dreams team 🙂

    We are looking for a way to display the grouped search results as tabs.

    Unfortunately, I couldn’t find a suitable solution in the help or via Google.

    Has there been such an approach before?

    It might be enough to put the search results in a separate div wrapper. Then I could show or hide certain areas depending on the tab click.

    It should look something like this:
    https://www.fis-gmbh.de/de/

    Thank you very much for any help.

    #33403
    phillip.groschup51
    phillip.groschup51
    Participant
    #33421
    phillip.groschup51
    phillip.groschup51
    Participant

    Hello,

    I still need help here.

    I was able to generate divs via the hook ‘asp_before_ajax_output’ and the templates, which should function as tabs.

    In the following I switched the result groups to display: none. The corresponding result group should be displayed via javascript when clicking on a tab.

    Curiously, the div.results container is then inline-style: height: 0px; overflow-y: auto; equipped.

    I suspect that some Javascript does this.

    Is there a way to prevent this?

    #33423
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Try turning off the custom scrollbar script, it may resolve that. If not, then try overriding with a custom style:

    .asp_r div.results {
        height: auto !important;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.