• Is it possible? The idea would be that the search form would load results into a thickbox or fancybox while remaining on the same page where the search was entered, instead of loading the search results template as a new page.

    Or to put it another way, the search.php file itself with the search query fed to it would be opened in a modal box upon submission of the search form.

    Thanks for any insights!

Viewing 1 replies (of 1 total)
  • Yes, but it’s somewhat advanced javascript programming. Using jQuery, you would:

    1. Attach a function to the search form submit event. Return false to keep the form from submitting.
    2. Serialize the form data with $.serialize()
    3. Attach the form data to the action URL
    4. Pass the full query URL to a lightbox implimentation that allow programmatic calls and supports iFrames.
Viewing 1 replies (of 1 total)
  • The topic ‘Search Results in Thickbox or Fancybox?’ is closed to new replies.