Currently I have an array of location details that I am running through a simple while loop to populate my map with markers.<br><br>This is working perfect and is as follows.<br><br><pre id="line21">        var markers = new OpenLayers.Layer.Markers
( "Markers" );<br>        map.addLayer(markers);<br><br>        //Setting Size and Offset of Markers<br>        var size = new OpenLayers.Size(20,34);<br>        var offset = new OpenLayers.Pixel(-(size.w/2), -size.h);<br>        <br>        var site = 0;
<br><br>        while (site < locationList.length)<br>                {<br>                var icon = new OpenLayers.Icon('../../img/gmarker.png',size,offset);<br>                markers.addMarker(<br>                new OpenLayers.Marker(new OpenLayers.LonLat(locationList[site].lon,locationList[site].lat),icon));        
<br>                site++;<br><br>                }<br><br><font style="font-family: arial,sans-serif;" size="1">What I want to do is add anchored popups to all of these markers, having each one work properly, I've tried hacking around with the example but I can only ever get one to add at a time.
<br><br>Any help with this would be much appreciated.<br><br>Brad<br><br><br><br><br></font><br></pre><br>