0
Welcome Guest! Login
0 items Join Now

Rok AjaxSearch: Possible to have results popup list *above* field?

    • Sean K.'s Avatar
    • Sean K.
    • Sr. Rocketeer
    • Posts: 110
    • Thanks: 0

    Rok AjaxSearch: Possible to have results popup list *above* field?

    Posted 7 years 1 month ago
    • I have a site under development at dev.mission-bbq.com that uses a Rok Ajax Search module in the footer.

      It's working great, but how can I set it so that the initial popup results display *above* the search field and not below it?

      Thanks in advance!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok AjaxSearch: Possible to have results popup list *above* field?

    Posted 7 years 1 month ago
    • You can't really because that would require JS changes to do it properly. It's complicated because you can't predict the results height, nor the page length.

      You can only move it with CSS like this:
      #roksearch_results {
        top:  80vh !important;
      }

      But it's really not a practical solution. You really should move the search to the top of the page.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Sean K.'s Avatar
    • Sean K.
    • Sr. Rocketeer
    • Posts: 110
    • Thanks: 0

    Re: Rok AjaxSearch: Possible to have results popup list *above* field?

    Posted 7 years 1 month ago
    • Mark,

      Thanks for your response.

      In case my client wants to keep the search field in the footer: is there a way to disable the Ajax popup from appearing? And have the search field simply direct the user to the standard search results page (as if they'd clicked on the "View All" link).
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok AjaxSearch: Possible to have results popup list *above* field?

    Posted 7 years 1 month ago
    • Yes don't use rokajaxsearch - use a normal Joomla "search" module.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.040 seconds