Php Real Estate Script

So to come to the map it self now.......well, the ideal thing to do with the map is when choosing the region and the results update the map should update too to the right region.....I have the regions and their equivalent location to the map
Nicosia channel=gr.talent.channel.cyprus&ulx=525936&uly=3885248&w=14688&h=8960
Larnaca
channel=gr.talent.channel.cyprus&ulx=549744&uly=3859640&w=14688&h=8960
Limassol
channel=gr.talent.channel.cyprus&ulx=497440&uly=3833144&w=14688&h=8960
Paphos
channel=gr.talent.channel.cyprus&ulx=440224&uly=3843544&w=14688&h=8960
Ayia Napa
channel=gr.talent.channel.cyprus&ulx=589811.9510425703&uly=3871441.5857088603&w=2334&h=1508

there is also a Javascript i put it in the code section below and to show you what i had working before making this whole functional
Its not working dynamically its just the info I gave you above.....
is there a way to make it work?

<script type="text/javascript">
	// Send a message to the map via the map proxy frame, toggling the proxy's
    // size to indicate there is a message ready to be read
    function sendMessageToFrame(message) {
        var elem = top.document.getElementById('mapFrameProxy');
        elem.contentWindow.location = 'http://www.col.com.cy:8190/webcruiserpanel/InnerFrameProxy.html#' + message + '&frame=mapFrame';
        elem.width = elem.width > 50 ? 50 : 100;
    }
    
    function showArea(areas) {
    	var area = (areas.options[areas.selectedIndex].value);
//    	alert('Show area ' + area);
    	sendMessageToFrame(area);
    }
</script>

<select name="city" id="city" onchange="showArea(this)")">
                <option>Select City</option>
                <option value="channel=gr.talent.channel.cyprus&amp;ulx=525936&amp;uly=3885248&amp;w=14688&amp;h=8960">Nicosia</option>
                <option value="channel=gr.talent.channel.cyprus&amp;ulx=549744&amp;uly=3859640&amp;w=14688&amp;h=8960">Larnaca</option>
                <option value="channel=gr.talent.channel.cyprus&amp;ulx=497440&amp;uly=3833144&amp;w=14688&amp;h=8960">Limassol</option>
                <option value="channel=gr.talent.channel.cyprus&amp;ulx=440224&amp;uly=3843544&amp;w=14688&amp;h=8960">Paphos</option>
                <option value="channel=gr.talent.channel.cyprus&amp;ulx=589811.9510425703&amp;uly=3871441.5857088603&amp;w=2334&amp;h=1508">Ayia Napa</option>
                </select>

Open in new window

dino_angelidesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

john-formbyCommented:
What you had before was an onclick event trigger to change the map when a new option was selected.  That is not really going to be an option in your case because we need the page refresh to trigger the queries.  I will have a look at for you tomorrow morning :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dino_angelidesAuthor Commented:
Ok John, thx a lot!!! :)
also I am including the iframe for the map if that will be helpful!!!
<iframe name="mapFrame" id="mapFrame" frameborder="0" style="position:absolute; left:983; top:500; background:transparent; border:1px solid rgb(191,219,247);"
      src="http://www.col.com.cy:8190/webcruiserpanel/template-no-border.html?channel=gr.talent.channel.cyprus&amp;locale=el" width="983" height="500"> </iframe>

Open in new window

0
dino_angelidesAuthor Commented:
I tried adding the channels for the map to the list/menu  but it did not work
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.