Welcome to WebmasterWorld Guest from 22.214.171.124
I have a web page with a map image. Users click on different areas of the map for a list of distributors in that area. A php script delivers the results. All easy enough.
However, we now have different distributors for different product ranges.
The page has a normal form that allows the user to select the product type and enter their zip code or manually select the region.
Thanks in anticipation.
1) add an iframe at the bottom of the page.
2)when someone clicks on the map or whatever, fire an event to change the url of the iframe and reload...here is code:
<a href="#" onClick="document.getElementById('myframe').href='http://mydomain.com/myphppage.php?id=1'">click me</a>
var = myVarsFromPHP;
//given by the iframe that just loaded with your
5) Your done!