Note that there are some explanatory texts on larger screens.

plurals
  1. POIE9 SVG displaying issue
    primarykey
    data
    text
    <p>I've been looking a lot information about IE and SVG online, but without much success. I want to load a map in svg format using a label type <code>&lt;object&gt;</code> because I do not want to use the plugin from Adobe. The reason is that with the Adobe plugin, style sheets do not work on my object (which contains the external SVG). However, if I put the map inside this tag, it is shown above context menus and with an opaque white background. I have already tested the <code>&lt;embed&gt;</code> tag with the "wmode = transparent" and that worked well with the Adobe SVG Viewer (but the CSS didn't work).</p> <p>What can I do? Any ideas?</p> <p>Chrome does it well: <img src="https://i.stack.imgur.com/8l3Y1.png" alt="enter image description here"></p> <p>But IE... <img src="https://i.stack.imgur.com/grZm3.png" alt="enter image description here"> Thanks in advance!</p> <p>The CSS:</p> <pre><code>path:hover { cursor: pointer; opacity: 0.3; } </code></pre> <p>In the HTML:</p> <pre><code>&lt;div id="panelmapa" style="position: absolute; z-index: 1; width: 100%; height:100%"&gt; &lt;object style="position:absolute; height:100%; width:100%; margin-top:75px; margin-bottom:100px; margin-right:50px; margin-left:30px;" id="mapasvg" data="&lt;%= path %&gt;/map.svg" name="MapaSVG" type="image/svg+xml"&gt; &lt;/object&gt;--&gt; &lt;/div&gt; </code></pre> <p>And finally, the svg (I created it with Inkscape):</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt; &lt;!-- Created with Inkscape (http://www.inkscape.org/) --&gt; &lt;?xml-stylesheet href="../../css/mapaSVG.css"?&gt;&lt;svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" onload="iniciar(evt)" width="100%" height="100%" viewBox="0 0 1024 860" id="svg5724" version="1.1" inkscape:version="0.48.1 " sodipodi:docname="mapaSVG.svg"&gt; &lt;script id="script3" type="text/javascript" src="mapEffects.js" /&gt; &lt;defs id="defs5726"&gt; &lt;filter inkscape:collect="always" id="filter3879"&gt; &lt;feGaussianBlur inkscape:collect="always" stdDeviation="8.9458125" id="feGaussianBlur3881" /&gt; &lt;/filter&gt; &lt;/defs&gt; &lt;sodipodi:namedview inkscape:document-units="mm" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.86831672" inkscape:cx="903.46039" inkscape:cy="429.12416" inkscape:current-layer="mapa" id="namedview5728" showgrid="false" inkscape:window-width="1440" inkscape:window-height="838" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" /&gt; &lt;metadata id="metadata5730"&gt; &lt;rdf:RDF&gt; &lt;cc:Work rdf:about=""&gt; &lt;dc:format&gt;image/svg+xml&lt;/dc:format&gt; &lt;dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /&gt; &lt;/cc:Work&gt; &lt;/rdf:RDF&gt; &lt;/metadata&gt; &lt;g inkscape:label="Layer 1" inkscape:groupmode="layer" id="mapa"&gt; ... </code></pre> <p>Regards</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload