2012-12-05 19 views
5

Potrzebuję obrazu svg w fancybox.SVG w Fancybox

<div id="data"> 
 
    <svg width="400" height="110"> 
 
    <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)"> 
 
     Sorry, your browser does not support inline SVG. 
 
    </svg> 
 
    <img src="http://fc03.deviantart.net/fs71/f/2011/260/e/1/circle_png_by_xdicsii-d4a2odp.png" /> 
 
    <a id="inline" href="#data" style="margin-left:15px;">Full Screen</a> 
 
</div>

Chcę uzyskać pełny ekran div z id "dane".

po kliknięciu na „Full Screen” Jestem pełny ekran div o identyfikatorze „dane” z obrazów jpg, ale bez obrazu svg (co jest renderowane do div)

Odpowiedz

0
<div style="height:inherit; width:inherit"></div>