I'm hoping someone can tell me if this is reliable, and if so, the best way to go about it. First, I don't want to use javascript. I'm happy with PHP and I have heard that IFrames can do this, I just don't know how. The page will have a largeish map, probably 500px wide and 1000px high. It will have imagemap hotspots at a number (probably 25) of locations. When a location is clicked, I would like to be able to show a <div>lots of info pulled from a mysql database</div> superimposed on the map. I would guess that opening a new window is one way. But it would be better (I think) to have a popup style window (especially a borderless one) hover over the original map. I know how to do it with javascript, but I'm concerned about users who have JS turned off or who have popup blockers. Recommendations and opinions please.
Sounds like you need to incorporate some AJAX techniques. Which basically means JavaScript. If you click a hotspot, a Javascript-Function is triggered, whcich pulls the desired information from a PHP-Script and writes a DIV-Layer (no problems with Popup-Blockers here) with the information. Of course users need to have JS enabled. If you want to work without JS, your page has to be a PHP-Script by itself, whcich gets reloaded on every click on your map and writes the DIV with the information statically. I would definitly favor the JS/Ajax-Version Kind regards, Hans
you can do what you want in multiple ways, one is ajax from above, which is pretty damn easy to implement, and if you want i can send u the code for a simple ajax system that includes php. You can also just make it so when you click it will query a new page in an iframe. The best way for this is to use ajax. PM me if you want help