Spinu Alexandru
November 19, 2014, 05:22 PM
sorry about that,
Inside my map.tpl file (template/tpl/blocks) that i use to make a states map on my homepage i have the next code:
</script>
<div style="overflow: hidden;text-align: center;padding: 0 0 10px;"><img usemap="#map" alt="" title="" src="{$rlTplBase}img/harta.png" /></div>
<map name="map" id="states_map">
<area alt="" accesskey="california" shape="poly" coords="150,162,154,150,166,150,171,158,177,154,179,156,19 0,151,195,156,202,156,204,164,206,164,208,159,224, 160,229,168,240,177,235,184,232,185,226,196,221,19 1,216,196,216,202,209,211,204,212,200,221,203,226, 203,234,207,239,202,241,190,227,190,225,191,223,19 0,221,189,218,190,217,181,193,175,192,173,188,173, 180,168,178,164,167,155,167" href="{$rlBase}{if $config.mod_rewrite}{$pages.lt_listings}/{else}?page={$pages.lt_listings}&category={/if}" />
<area alt="" accesskey="nevada" shape="poly" coords="119,60,128,63,133,76,144,78,146,85,140,96,144,101, 143,104,152,111,149,116,156,121,149,129,157,142,15 7,149,153,149,149,162,136,161,130,151,122,150,122, 144,113,139,108,141,104,137,91,137,85,141,81,136,8 2,134,80,131,80,130,86,122,91,111,88,107,96,99,100 ,92,104,84,105,82,111,77,109,68,114,64" href="{$rlBase}{if $config.mod_rewrite}{$pages.lt_listings}/{else}?page={$pages.lt_listings}&category={/if}" />
<area alt="" accesskey="arizona" shape="poly" coords="341,140,344,138,346,143,354,143,356,140,361,144,37 6,140,382,134,387,137,393,129,396,134,413,133,414, 136,417,138,417,140,414,143,420,152,424,163,428,18 2,416,179,407,184,408,188,398,187,398,190,376,189, 376,192,377,194,375,194,371,192,370,192,369,194,36 3,180,359,176,358,167,357,167,351,170,351,166,350, 164,341,163,344,158,346,155,341,148" href="{$rlBase}{if $config.mod_rewrite}{$pages.lt_listings}/{else}?page={$pages.lt_listings}&category={/if}" />
<area alt="" accesskey="washington" shape="poly" coords="80,137,85,143,92,138,103,138,108,142,113,140,120,1 44,120,150,129,152,136,163,149,163,154,168,148,168 ,146,175,136,175,133,187,134,194,123,201,107,194,9 6,199,96,196,94,194,90,200,76,186,75,187,75,191,72 ,193,60,190,57,192,55,187,47,186,36,178,37,174,41, 172,44,173,48,175,56,175,62,170,64,162,66,162,71,1 57,66,152,70,148,70,147,69,144,71,143,76,142" href="{$rlBase}{if $config.mod_rewrite}{$pages.lt_listings}/{else}?page={$pages.lt_listings}&category={/if}" />
<area alt="" accesskey="north_carolina" shape="poly" coords="235,73,241,73,249,64,266,68,268,66,282,65,288,71,2 86,78,284,80,287,84,287,88,285,90,286,104,276,104, 269,115,268,120,266,121,264,120,263,117,252,127,25 2,132,244,134,238,129,240,121,236,119,235,106,228, 98,225,98,223,93,223,92,224,88,229,88,229,82,233,7 6" href="{$rlBase}{if $config.mod_rewrite}{$pages.lt_listings}/{else}?page={$pages.lt_listings}&category={/if}" />
.........
.........
Now, every area on the map goes to my Listings Main Page
So every accesskey from above is corresponding to an Item in Data Entries, which is selected when you add an listing, and i would like when i press an area on the map, to view only the items that had chosen that option.
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.