Forums › Forums › Search & Filter Pro › Invisible Ajax results
Tagged: ajax, hidden results, invisible
- This topic has 15 replies, 2 voices, and was last updated 10 years ago by
Ross.
-
Ross Moderator(Private) May 1, 2015 at 11:33 pm #16438
Hey Stephane
To be honest what you’re looking for is way to specific to your theme for me to really suggest what you need…
I’d suggest at this stage getting hiring a dev or asking in dev related forums/websites for further help.
Thanks
Ross Moderator(Private) May 2, 2015 at 11:53 am #16474Hey Stephane
Normally I would say yes, but at the moment I’m just way too busy – my main priority is first to complete S&F 2.0, after this I may be available for this kind of work!
Thanks
Anonymous(Private) May 2, 2015 at 3:36 pm #16521Ok, managed it to work !
For those who use Salient theme : add this to search-filter/results.php :
<script type="text/javascript"> <![CDATA[ $(".searchandfilter").on("sf:ajaxstart",function(){ console.log("ajax start"); $('#loader').show(); }); $(".searchandfilter").on("sf:ajaxfinish",function(){ console.log("ajax complete"); $('#loader').hide(); jQuery.getScript("PATH_TO_YOUR_THEME_DIRECTORY/salient/js/init.js", function(data, textStatus, jqxhr) { //console.log(data); //data returned //console.log(textStatus); //success //console.log(jqxhr.status); //200 //console.log('script.js loaded.'); }); }); ]]> </script>
-
AuthorPosts