Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Web app results to appear on page load under search form

$
0
0

Hi,

 

We have 2 options currently that we are possibly going to implement (with 2 web apps - one just a listing of businesses and another a Google map showing businesses) but I was wondering if someone else has come across this and could offer a better solution.

 

What we want is a page with a web app search form at the top and underneath a display of all the web app items. Then a visitor can customize their search ie State, Post Code etc and the new web app results will be displayed.

 

Currently our first option is (but possibly not a very good one) is to use

<script type="text/javascript">

$(document).ready(function(){

 

if( document.URL.indexOf("Default.aspx") < 0){

$("form[name='catcustomcontentform82271']").submit();

}

})

</script>

but there is a reload that happens and that doesn't look very good. If it didn't have that reload it would be perfect but I've also been told too that this script can be something that viruses do so some browsers can flag it (even though I haven't had any issues testing it).

 

2nd option is to use a script to display an iframe of all the listings on landing and then when they search the new results appear.

 

Both these web apps could have up to 2500 listings each.

 

So I'm all open to other ideas.

 

Cheers


Viewing all articles
Browse latest Browse all 238792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>