Thanks for the answers for my question, but now...<br><br>I don't have a error message in IE, but I don't have the image too!!!<br><br>This is my script:<br><br> <script type="text/javascript"><br>
<br> // make map available for easy debugging<br> var map;<br><br> // avoid pink tiles<br> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;<br> //OpenLayers.Util.onImageLoadErrorColor = "transparent";<br>
<br><br> function init(){<br> var options = {numZoomLevels: 20,<br> projection: new OpenLayers.Projection("EPSG:900913"),<br> displayProjection: new OpenLayers.Projection("EPSG:4326")};<br>
//units: "m",<br> //maxResolution: 156543.0339,<br> //maxExtent: new OpenLayers.Bounds(-20037508, -20037508,<br> // 20037508, 20037508.34),<br>
//};<br> // Create a map Object<br> map = new OpenLayers.Map('map', options);<br><br> // Create Google Mercator layers<br> var gmap = new OpenLayers.Layer.Google(<br>
"Google Streets");<br> var gsat = new OpenLayers.Layer.Google(<br> "Google Satellite",<br> {type: G_SATELLITE_MAP});<br> var ghyb = new OpenLayers.Layer.Google(<br>
"Google Hybrid",<br> {type: G_HYBRID_MAP});<br> var gphy = new OpenLayers.Layer.Google(<br> "Google Physical",<br> {type: G_PHYSICAL_MAP}); <br>
<br>// Create a WFS Sites Layer<br> var sites = new OpenLayers.Layer.WFS( "Sites",<br> "<a href="http://10.192.160.133/cgi-bin/mapserv.exe?map=/ms4w/apps/Test/WFS_Test.map">http://10.192.160.133/cgi-bin/mapserv.exe?map=/ms4w/apps/Test/WFS_Test.map</a>",<br>
{typename: "Sites",maxfeatures: 100 },{<br> featureClass: OpenLayers.Feature.WFS });<br>// Create a WFS Cables Layer<br> var cables = new OpenLayers.Layer.WFS( "Cables",<br>
"<a href="http://10.192.160.133/cgi-bin/mapserv.exe?map=/ms4w/apps/Test/WFS_Test.map">http://10.192.160.133/cgi-bin/mapserv.exe?map=/ms4w/apps/Test/WFS_Test.map</a>",<br> {typename: "Cables", maxfeatures: 100});//,{<br>
//featureClass: OpenLayers.Feature.Vector});<br><br> map.addLayers([gsat, gmap, ghyb, gphy, sites, cables]);<br> map.addControl(new OpenLayers.Control.LayerSwitcher());<br> map.addControl(new OpenLayers.Control.ScaleLine); <br>
map.addControl(new OpenLayers.Control.MousePosition());<br> if (!map.getCenter()) {map.zoomToMaxExtent()}<br> }<br><br> function changezoom(x,y,z)<br> {<br> map.setCenter(new OpenLayers.LonLat(x, y), z);<br>
} <br> function showAddress(address) {<br> var geocoder = new GClientGeocoder();<br> if (geocoder) {<br> geocoder.getLatLng(<br> address,<br> function(point) {<br> if (!point) {alert(address + " not found");}<br>
else {map.setCenter(new OpenLayers.LonLat(point.x,point.y),15);}<br> }<br> );<br> }<br> }<br><br>Thanks for help me!<br><br>