Hello everybody,
I am using the listingfilter module from templatecode to select ads from different spain regions and now I would like to set up a map from where the user can select as well the region.
So, I set up a new template page called espana.tpl and the correspondant php, espana.php.
I put a link from
form.tpl in listingfilter to go to espana.php as follow
<li><a href="http://localhost/68classifiedsv412/espana.php" id="dialog_link">See regions map</a></li> ( am working on localhost at the moment)
With the listing filter, when you click on a name region link, it shows up in the left hand side menu.
In my new template page, espana.tpl, if I click on one region name link for exemple "Navarra"
<a id="county_37"
class="cls_listingfilter_choose" href="http://localhost/68classifiedsv412/modules.php?mod=listingfilter&action=select&filter =Navarra" title="Anuncios en Navarra" onmouseover="change_image(37);" onmouseout="hide_image(37);">Navarra</a><br>
the name of the selected region appears in the left hand side menu but when I click on the map with the following code:
<area shape="poly" onmouseover="change_image(37);" onmouseout="hide_image(37);" title="Navarra" alt="Navarra"
class="cls_listingfilter_choose" href="http://localhost/68classifiedsv412/modules.php?mod=listingfilter&action=select&filter =Navarra" coords="260,31,263,31,264,41,273,41,283,45,284,45, 275,57,265,68,263,80,265,88,260,90,252,87,249,83,2 56,77,233,62,241,45,255,30"/>
nothing appears and I don't understand why as the link is the same!!
I have tried a lot of things but till now I am not successful. Is this problem is related specialy with the tag <area>? I am using a similar code as the one you can see in
Petites annonces gratuites d'occasion - leboncoin.fr
Thank you for your help