Remove IE-specific line from example.html, and instead use the galleryImg IE specific attribute in Util.createImage. This should fix Ticket #34, but I don't have an IE to test on. galleryImg was discovered from multiple sources via google searches.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="imagetoolbar" content="no"> <!--ie image gizmo OFF!-->
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#map {
|
#map {
|
||||||
width: 800px;
|
width: 800px;
|
||||||
|
|||||||
@@ -574,6 +574,7 @@ OpenLayers.Util.createImage = function(img, sz, xy, position, id, border) {
|
|||||||
}
|
}
|
||||||
image.style.cursor = "inherit";
|
image.style.cursor = "inherit";
|
||||||
image.src = img;
|
image.src = img;
|
||||||
|
image.galleryImg = "no";
|
||||||
return image;
|
return image;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user